cmake/Help/variable/CMAKE_FIND_PACKAGE_TARGETS_GLOBAL.rst
2022-08-04 22:12:04 +02:00

13 lines
344 B
ReStructuredText

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``.