[CMake] target_include_directories SYSTEM adds -isystem to Clang, but not GCC

Gregor Jasny gjasny at googlemail.com
Wed Dec 9 15:39:03 EST 2015


On 08/12/15 20:21, digitalriptide wrote:
> Thank you Gregor! I have tried the Makefile generator, but on OS X -isystem
> still seems to be missing with GCC. The -isystem flag appears with Clang,
> however. I have installed CMake 3.4.1 and GCC 5.3.0, both through MacPorts.
> I can provide a sample project, if that would help.

Please file a bug report and attach your test case. That way it does not
get lost.

Thanks,
Gregor



More information about the CMake mailing list