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

8 lines
128 B
CMake

enable_language(CXX)
cmake_policy(SET CMP0026 NEW)
add_library(somelib empty.cpp)
get_target_property(_loc somelib LOCATION)