summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerTest/C.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CompilerTest/C.cmake')
-rw-r--r--Tests/RunCMake/CompilerTest/C.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerTest/C.cmake b/Tests/RunCMake/CompilerTest/C.cmake
new file mode 100644
index 0000000..8e9d70c
--- /dev/null
+++ b/Tests/RunCMake/CompilerTest/C.cmake
@@ -0,0 +1,3 @@
+# Pretend the ABI check failed in order to force the fall-back test to run.
+set(CMAKE_C_ABI_COMPILED FALSE)
+enable_language(C)