mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03: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.
6 lines
173 B
CMake
6 lines
173 B
CMake
add_library(local_lib_glob SHARED IMPORTED GLOBAL)
|
|
add_executable(local_exe_glob IMPORTED GLOBAL)
|
|
|
|
add_library(local_lib SHARED IMPORTED)
|
|
add_executable(local_exe IMPORTED)
|