Files
CMake/Tests/RunCMake/CommandLine/EnvColorDefault.cmake
2022-03-08 17:29:12 -05:00

7 lines
265 B
CMake

if(DEFINED CMAKE_COLOR_DIAGNOSTICS)
message(FATAL_ERROR "CMAKE_COLOR_DIAGNOSTICS incorrectly defined.")
endif()
if(CMAKE_GENERATOR MATCHES "Make" AND NOT DEFINED CMAKE_COLOR_MAKEFILE)
message(FATAL_ERROR "CMAKE_COLOR_MAKEFILE incorrectly not defined.")
endif()