summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-15 17:03:31 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-15 17:04:19 (GMT)
commit14d98bcfe6fa1dd2f4220e50e99ec099939496d5 (patch)
tree98137c1b2c2d5b92caca0dff5d03a67e5998e5e1 /Help/prop_tgt/IMPORTED_NO_SYSTEM.rst
parent7df0541055167d556d866000f8da4b0e7f186b92 (diff)
downloadCMake-14d98bcfe6fa1dd2f4220e50e99ec099939496d5.zip
CMake-14d98bcfe6fa1dd2f4220e50e99ec099939496d5.tar.gz
CMake-14d98bcfe6fa1dd2f4220e50e99ec099939496d5.tar.bz2
export: Propagate IMPORTED_NO_SYSTEM target property to consumers
Enabling `IMPORTED_NO_SYSTEM` on a target built within the project has no effect on the build system, but it is still a useful way to set the property on imported targets generated by `install(EXPORT)` and `export()`. Issue: #17364
Diffstat (limited to 'Help/prop_tgt/IMPORTED_NO_SYSTEM.rst')
-rw-r--r--Help/prop_tgt/IMPORTED_NO_SYSTEM.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst b/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst
index e9349db..cc726d1 100644
--- a/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst
+++ b/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst
@@ -8,7 +8,9 @@ a ``SYSTEM`` library. This has the following effects:
as ``SYSTEM`` include directories when compiling consumers, as they
would be by default.
-Ignored for non-imported targets.
+This property can also be enabled on a non-imported target. Doing so does
+not affect the build system, but does tell the :command:`install(EXPORT)` and
+:command:`export` commands to enable it on the imported targets they generate.
See the :prop_tgt:`NO_SYSTEM_FROM_IMPORTED` target property to set this
behavior on the target consuming the include directories rather than