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

9 lines
177 B
CMake

enable_language(CXX)
add_library(somelib empty.cpp)
get_target_property(_loc somelib LOCATION)
add_subdirectory(CMP0026-WARN-Dir)
get_target_property(_loc otherlib LOCATION)