summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_FIND_PACKAGE_TARGETS_GLOBAL.rst
blob: fc9b315e3737a1146251204fb02d53d7bda5080a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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``.