Files
CMake/Tests/RunCMake/find_package/PackageRoot/FindSimpleTarget.cmake
John Parent 2f1ffa003c 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.
2022-03-10 12:44:36 -05:00

3 lines
64 B
CMake

add_library(Foo1 SHARED IMPORTED)
add_executable(Foo2 IMPORTED)