CMake/Tests/RunCMake/CMP0054/CMP0054-keywords-WARN.cmake

6 lines
166 B
CMake

if("NOT" 1)
message(FATAL_ERROR "[\"NOT\" 1] evaluated true")
elseif("DEFINED" NotDefined)
message(FATAL_ERROR "[\"DEFINED\" NotDefined] evaluated true")
endif()