https://github.com/Kitware/CMake
Raw File
Tip revision: 0926ed1f69aee7fdb454e10d9b98016c3dfc4e7e authored by Brad King on 18 May 2023, 17:49:44 UTC
CMake 3.26.4
Tip revision: 0926ed1
CMAKE_FIND_PACKAGE_TARGETS_GLOBAL.rst
CMAKE_FIND_PACKAGE_TARGETS_GLOBAL
---------------------------------

.. versionadded:: 3.24

Setting to ``TRUE`` promotes all :prop_tgt:`IMPORTED` targets discoverd
by :command:`find_package` to a ``GLOBAL`` scope.


Setting this to ``TRUE`` is akin to specifying ``GLOBAL``
as an argument to :command:`find_package`.
Default value is ``OFF``.
back to top