blob: 65c2b462c11433df1e7f020bb172e53ec8bb00ed [file] [log] [blame]
cmake_policy(SET CMP0064 NEW)
add_test(NAME TestThatExists COMMAND ${CMAKE_COMMAND} -E echo "A CMake Test")
if(TEST TestThatExists)
message(STATUS "if TestThatExists is true")
else()
message(FATAL_ERROR "if TestThatExists is false")
endif()