CMake/Tests/RunCMake/CMP0028/CMP0028-OLD.cmake

6 lines
112 B
CMake

cmake_policy(SET CMP0028 OLD)
add_library(foo empty.cpp)
target_link_libraries(foo PRIVATE External::Library)