include_directories SYSTEM and they propagation to target

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

include_directories SYSTEM and they propagation to target

Roman Savchenko
HI all,

I will appreciate if you could help me with one question.

From manual:


They are also added to the INCLUDE_DIRECTORIES target property for each target in the current CMakeLists file.


Targets may populate this property to publish the include directories which contain system headers, and therefore should not result in compiler warnings.

Does it mean that include_directories(SYSTEM ${PATH}) will be populated to INTERFACE_SYSTEM_INCLUDE_DIRECTORIES ?



Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: