diff options
author | Brad King <brad.king@kitware.com> | 2022-06-11 10:13:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-06-11 10:13:57 (GMT) |
commit | 012eb492635cded21f8cb2bd6c37a856e5558cde (patch) | |
tree | 45d7cdf1a8375795bc50a2c1bce532c8d27658b1 /Help/command | |
parent | f0ebdce4e8f3400e9ecec698506ddf03ca4e053e (diff) | |
parent | f19b48e0b89d5854e4a7a8fbbccadb38c02dcd76 (diff) | |
download | CMake-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.rst | 9 |
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: |