mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 08:08:24 -05:00
find_package: Add support for default GLOBAL imported targets
Allow find package to promote scope of imported targets by specifying
an argument to `find_package` or by specifying a CMake variable.
* Add support for CMAKE_GLOBAL_IMPORT_SCOPE variable
* Add support for GLOBAL argument to find_package
Additionally add testing for above features.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
find_package-global-imported
|
||||
----------------------------
|
||||
|
||||
* The :command:`find_package` command gained a `GLOBAL` option that
|
||||
allows for the promotion of imported targets to global scope fur the
|
||||
duration of the :command:`find_package` call.
|
||||
|
||||
* Adds support for :variable:`CMAKE_FIND_PACKAGE_TARGETS_GLOBAL` to
|
||||
toggle behavior of the :command:`find_package` command's new GLOBAL option
|
||||
Reference in New Issue
Block a user