summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/CMP0128-WARN.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/try_compile/CMP0128-WARN.cmake')
-rw-r--r--Tests/RunCMake/try_compile/CMP0128-WARN.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/CMP0128-WARN.cmake b/Tests/RunCMake/try_compile/CMP0128-WARN.cmake
new file mode 100644
index 0000000..266bd22
--- /dev/null
+++ b/Tests/RunCMake/try_compile/CMP0128-WARN.cmake
@@ -0,0 +1,7 @@
+
+set(check_cxx_std "
+#if __cplusplus <= 199711L || __cplusplus > 201103L
+# error Compiler is incorrectly not in C++11 mode.
+#endif
+")
+include(CMP0128-common.cmake)