summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-12-17 09:49:43 +0000
committerKitware Robot <kwrobot@kitware.com>2022-12-17 04:49:59 -0500
commit94131d632fc9b7b73d480ff4be349a66d67978b2 (patch)
tree9cdb744809569e88d018b6fbbdbface2a79204e9
parent1114767ac11aac2ba57a74ce297504f1c1e3ce46 (diff)
parent2ee845c0a51d4cb07e090888f304aea6b1795793 (diff)
downloadcmake-94131d632fc9b7b73d480ff4be349a66d67978b2.tar.gz
Merge topic 'doc-updates' into release-3.25
2ee845c0a5 Help: Add version information for SYSTEM option of add_subdirectory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8025
-rw-r--r--Help/command/add_subdirectory.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/Help/command/add_subdirectory.rst b/Help/command/add_subdirectory.rst
index 8640eeb9c2..fe17b5646c 100644
--- a/Help/command/add_subdirectory.rst
+++ b/Help/command/add_subdirectory.rst
@@ -34,9 +34,10 @@ parent project depends on a target in the subdirectory, the dependee
target will be included in the parent project build system to satisfy
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 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.
+.. versionadded:: 3.25
+ 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 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.