Help: Add missing version directive for find_package() GLOBAL keyword
This commit is contained in:
parent
868218ea28
commit
1305bade56
@ -140,10 +140,11 @@ available components.
|
|||||||
ignored on all other ones. Formally, it is up to the target package how to
|
ignored on all other ones. Formally, it is up to the target package how to
|
||||||
interpret the registry view information given to it.
|
interpret the registry view information given to it.
|
||||||
|
|
||||||
Specifying the ``GLOBAL`` keyword will promote all imported targets to
|
.. versionadded:: 3.24
|
||||||
a global scope in the importing project. Alternatively this functionality
|
Specifying the ``GLOBAL`` keyword will promote all imported targets to
|
||||||
can be enabled by setting the variable
|
a global scope in the importing project. Alternatively, this functionality
|
||||||
:variable:`CMAKE_FIND_PACKAGE_TARGETS_GLOBAL`
|
can be enabled by setting the :variable:`CMAKE_FIND_PACKAGE_TARGETS_GLOBAL`
|
||||||
|
variable.
|
||||||
|
|
||||||
.. _FIND_PACKAGE_VERSION_FORMAT:
|
.. _FIND_PACKAGE_VERSION_FORMAT:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user