CMake/Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake

4 lines
114 B
CMake

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