Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries

Imported INTERFACE libraries can specify include directories via
`INTERFACE_INCLUDE_DIRECTORIES` so the default behavior of treating them
as system include directories applies.  Allow users to turn this off by
setting `NO_SYSTEM_FROM_IMPORTED` on such targets.

Closes: #16443
This commit is contained in:
Brad King
2016-11-21 10:42:24 -05:00
parent acde2c4a53
commit 460052516f
5 changed files with 12 additions and 1 deletions
+1
View File
@@ -964,6 +964,7 @@ are:
* ``EXPORT_NAME``
* ``IMPORTED``
* ``NAME``
* ``NO_SYSTEM_FROM_IMPORTED``
* Properties matching ``IMPORTED_LIBNAME_*``
* Properties matching ``MAP_IMPORTED_CONFIG_*``
@@ -0,0 +1,5 @@
imported-interface-no-system
----------------------------
* The :prop_tgt:`NO_SYSTEM_FROM_IMPORTED` target property is now supported
on :ref:`Imported <Imported Targets>` :ref:`Interface Libraries`.