cmake/Help/variable/CMAKE_FIND_PACKAGE_TARGETS_GLOBAL.rst

13 lines
345 B
ReStructuredText
Raw Normal View History

2022-08-04 22:12:04 +02:00
CMAKE_FIND_PACKAGE_TARGETS_GLOBAL
---------------------------------
.. versionadded:: 3.24
2024-11-11 15:18:55 +01:00
Setting to ``TRUE`` promotes all :prop_tgt:`IMPORTED` targets discovered
2022-08-04 22:12:04 +02:00
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``.