summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-11 10:13:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-06-11 10:13:57 (GMT)
commit012eb492635cded21f8cb2bd6c37a856e5558cde (patch)
tree45d7cdf1a8375795bc50a2c1bce532c8d27658b1 /Help/command
parentf0ebdce4e8f3400e9ecec698506ddf03ca4e053e (diff)
parentf19b48e0b89d5854e4a7a8fbbccadb38c02dcd76 (diff)
downloadCMake-012eb492635cded21f8cb2bd6c37a856e5558cde.zip
CMake-012eb492635cded21f8cb2bd6c37a856e5558cde.tar.gz
CMake-012eb492635cded21f8cb2bd6c37a856e5558cde.tar.bz2
Merge topic 'fetchcontent-global-targets' into release-3.24
f19b48e0b8 FetchContent: Honor CMAKE_FIND_PACKAGE_TARGETS_GLOBAL 1305bade56 Help: Add missing version directive for find_package() GLOBAL keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7347
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/find_package.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 37be3cb..35e3c51 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -146,10 +146,11 @@ available components.
ignored on all other ones. Formally, it is up to the target package how to
interpret the registry view information given to it.
-Specifying the ``GLOBAL`` keyword will promote all imported targets to
-a global scope in the importing project. Alternatively this functionality
-can be enabled by setting the variable
-:variable:`CMAKE_FIND_PACKAGE_TARGETS_GLOBAL`
+.. versionadded:: 3.24
+ Specifying the ``GLOBAL`` keyword will promote all imported targets to
+ a global scope in the importing project. Alternatively, this functionality
+ can be enabled by setting the :variable:`CMAKE_FIND_PACKAGE_TARGETS_GLOBAL`
+ variable.
.. _FIND_PACKAGE_VERSION_FORMAT: