CMake/Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake

14 lines
183 B
CMake

enable_language(CXX)
add_executable(objlibuser
empty.cpp
$<TARGET_OBJECTS:bar>
)
get_target_property(_location objlibuser LOCATION)
add_library(bar OBJECT
empty.cpp
)