summaryrefslogtreecommitdiffstats
path: root/Help/command/add_subdirectory.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-12-06 00:42:06 (GMT)
committerBrad King <brad.king@kitware.com>2022-12-06 00:42:06 (GMT)
commitb15b9cf286ef1b878103cf9be8cf8ae32347ee35 (patch)
tree350c7c3553893ec8d91c95ea746af364599e302e /Help/command/add_subdirectory.rst
parent60fc165dcb9211ed0dda20ee2887414f339c5d9a (diff)
downloadCMake-b15b9cf286ef1b878103cf9be8cf8ae32347ee35.zip
CMake-b15b9cf286ef1b878103cf9be8cf8ae32347ee35.tar.gz
CMake-b15b9cf286ef1b878103cf9be8cf8ae32347ee35.tar.bz2
Help: Clarify SYSTEM property default for imported targets
The `SYSTEM` directory property does not affect imported targets. Fixes: #24219
Diffstat (limited to 'Help/command/add_subdirectory.rst')
-rw-r--r--Help/command/add_subdirectory.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/add_subdirectory.rst b/Help/command/add_subdirectory.rst
index 13cae10..8640eeb 100644
--- a/Help/command/add_subdirectory.rst
+++ b/Help/command/add_subdirectory.rst
@@ -36,7 +36,7 @@ the dependency.
If the ``SYSTEM`` argument is provided, the :prop_dir:`SYSTEM` directory
property of the subdirectory will be set to true. This property is
-used to initialize the :prop_tgt:`SYSTEM` property of each target
-created in that subdirectory. The include directories of targets with
-:prop_tgt:`SYSTEM` set to true will be treated as ``SYSTEM`` when
+used to initialize the :prop_tgt:`SYSTEM` property of each non-imported
+target created in that subdirectory. The include directories of targets
+with :prop_tgt:`SYSTEM` set to true will be treated as ``SYSTEM`` when
compiling consumers.