CMake/Tests/RunCMake/CompilerNotFound/BadCompilerCXX.cmake

4 lines
120 B
CMake

set(CMAKE_CXX_COMPILER "no-CXX-compiler")
enable_language(CXX)
message(FATAL_ERROR "This error should not be reached.")