CMake/Tests/RunCMake/CMP0026/CMP0026-IMPORTED.cmake

7 lines
120 B
CMake

enable_language(CXX)
add_library(someimportedlib SHARED IMPORTED)
get_target_property(_loc someimportedlib LOCATION)