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

8 lines
171 B
CMake

cmake_policy(SET CMP0064 OLD)
if(TEST)
message(FATAL_ERROR "TEST was not recognized to be undefined")
else()
message(STATUS "TEST was treated as a variable")
endif()