mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-28 09:58:53 -06:00
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.
3 lines
64 B
CMake
3 lines
64 B
CMake
add_library(Foo1 SHARED IMPORTED)
|
|
add_executable(Foo2 IMPORTED)
|