TestNameThatDoesNotExist.cmake 185 Bytes
Newer Older
1 2 3 4 5 6
cmake_policy(SET CMP0064 NEW)
if(TEST TestThatDoesNotExist)
  message(FATAL_ERROR "if TestThatDoesNotExist is true")
else()
  message(STATUS "if TestThatDoesNotExist is false")
endif()