From 1305bade56f77e0e29f2c8f2fc188e5f9da59756 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Fri, 10 Jun 2022 18:08:36 +1000 Subject: Help: Add missing version directive for find_package() GLOBAL keyword --- Help/command/find_package.rst | 9 +++++---- 1 file 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: -- cgit v0.12