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

8 lines
150 B
CMake
Raw Normal View History

2014-08-03 19:52:23 +02:00
enable_language(CXX)
2021-09-14 00:13:48 +02:00
cmake_policy(SET CMP0111 OLD)
2014-08-03 19:52:23 +02:00
add_library(someimportedlib SHARED IMPORTED)
get_target_property(_loc someimportedlib LOCATION)