mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
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:
@@ -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`.
|
||||
Reference in New Issue
Block a user