aboutsummaryrefslogtreecommitdiff
path: root/rc3/cmake/config-ix.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'rc3/cmake/config-ix.cmake')
-rw-r--r--rc3/cmake/config-ix.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc3/cmake/config-ix.cmake b/rc3/cmake/config-ix.cmake
new file mode 100644
index 0000000..13eace9
--- /dev/null
+++ b/rc3/cmake/config-ix.cmake
@@ -0,0 +1,7 @@
+include(CheckCCompilerFlag)
+include(CheckCXXCompilerFlag)
+
+check_c_compiler_flag(-Werror OPENMP_HAVE_WERROR_FLAG)
+
+check_cxx_compiler_flag(-std=gnu++11 OPENMP_HAVE_STD_GNUPP11_FLAG)
+check_cxx_compiler_flag(-std=c++11 OPENMP_HAVE_STD_CPP11_FLAG)