summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake')
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake b/Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake
new file mode 100644
index 0000000..10fe59a
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake
@@ -0,0 +1,3 @@
+set(CMAKE_C_COMPILER "no-C-compiler")
+enable_language(C)
+message(FATAL_ERROR "This error should not be reached.")