[CMake] does target_include_directories support SYSTEM?

Stephen Kelly steveire at gmail.com
Sun Mar 24 07:43:37 EDT 2013


Matthew Woehlke wrote:

> See subject. I have a target that is the compiled sources from some
> stuff generated by Google Protobuf, which means using the headers also
> depend on ${PROTOBUF_INCLUDE_DIRS}. I would like to have this be a
> SYSTEM include... is this supported?

Nope. It would be possible to add, but it requires refactoring the cmake C++ 
source and the way system dirs are handled.

> 
> Also, is there a way to treat all interface include directories of
> imported targets as SYSTEM?

Nope.

Please file bug reports if you want to track these features.

Thanks,

Steve.




More information about the CMake mailing list