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:58 (GMT)
commit9f16821ea55df68fb58599f2b7bd38427f68c86c (patch)
treeb2fc0fd0213dde026f969051eae920515ca5d503 /Help/command
parent4a5b4f041e6da97b7d4e847b478ebfd3e63b89b5 (diff)
parentf19b48e0b89d5854e4a7a8fbbccadb38c02dcd76 (diff)
downloadCMake-9f16821ea55df68fb58599f2b7bd38427f68c86c.zip
CMake-9f16821ea55df68fb58599f2b7bd38427f68c86c.tar.gz
CMake-9f16821ea55df68fb58599f2b7bd38427f68c86c.tar.bz2
Merge topic 'fetchcontent-global-targets'
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: