summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-10-13 14:27:20 -0400
committerBrad King <brad.king@kitware.com>2017-10-13 14:32:15 -0400
commit22beb07f9871338c3cdc1ce47bf1da0433519547 (patch)
tree8e862c98a0b6e99270e957dbf07243f1f5008e69 /Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst
parent2de0e0fdfaed1c10d3b38a8fb7ff86698a0308aa (diff)
downloadcmake-22beb07f9871338c3cdc1ce47bf1da0433519547.tar.gz
Help: Clarify documentation of NO_SYSTEM_FROM_IMPORTED
This property is meant to be set on the consumers of imported targets, not the imported targets themselves. Fixes: #17348
Diffstat (limited to 'Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst')
-rw-r--r--Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst18
1 files changed, 11 insertions, 7 deletions
diff --git a/Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst b/Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst
index 070dd3018b..880343de4b 100644
--- a/Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst
+++ b/Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst
@@ -1,11 +1,15 @@
NO_SYSTEM_FROM_IMPORTED
-----------------------
-Do not treat includes from IMPORTED target interfaces as SYSTEM.
+Do not treat include directories from the interfaces of consumed
+:ref:`imported targets` as ``SYSTEM``.
-The contents of the INTERFACE_INCLUDE_DIRECTORIES of IMPORTED targets
-are treated as SYSTEM includes by default. If this property is
-enabled, the contents of the INTERFACE_INCLUDE_DIRECTORIES of IMPORTED
-targets are not treated as system includes. This property is
-initialized by the value of the variable CMAKE_NO_SYSTEM_FROM_IMPORTED
-if it is set when a target is created.
+The contents of the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` target property
+of imported targets are treated as ``SYSTEM`` includes by default. If this
+property is enabled on a target, compilation of sources in that target will
+not treat the contents of the ``INTERFACE_INCLUDE_DIRECTORIES`` of consumed
+imported targets as system includes.
+
+This property is initialized by the value of the
+:variable:`CMAKE_NO_SYSTEM_FROM_IMPORTED` variable if it is set when a target
+is created.