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

8 lines
142 B
CMake

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