cmake/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE.cmake

4 lines
147 B
CMake
Raw Normal View History

2014-08-03 19:52:23 +02:00
set(CMAKE_CXX_COMPILER_ID_ERROR_FOR_TEST "#error NoCompilerCXX-IDE")
enable_language(CXX)
message(FATAL_ERROR "This error should not be reached.")