summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-06-10 08:08:36 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-06-10 08:08:36 (GMT)
commit1305bade56f77e0e29f2c8f2fc188e5f9da59756 (patch)
tree392fe4d32d82e7640c84659ec3861c33e2b3d934 /Help
parent868218ea28a47e0e5ddc3bbb931f8f9772526df7 (diff)
downloadCMake-1305bade56f77e0e29f2c8f2fc188e5f9da59756.zip
CMake-1305bade56f77e0e29f2c8f2fc188e5f9da59756.tar.gz
CMake-1305bade56f77e0e29f2c8f2fc188e5f9da59756.tar.bz2
Help: Add missing version directive for find_package() GLOBAL keyword
Diffstat (limited to 'Help')
-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 e85892e..849052a 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -140,10 +140,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: