Browse Source

ci: convert one build to cover strict C++11 usage

Without this, we do not cover compilation with only C++11 until nightly
testing, at which point many builds require it, and failures block
merging anything that was staged.
Brad King 5 years ago
parent
commit
a258283160
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .gitlab/ci/configure_fedora31_ninja.cmake

+ 4 - 0
.gitlab/ci/configure_fedora31_ninja.cmake

@@ -1,3 +1,7 @@
 set(CMake_TEST_ISPC "ON" CACHE STRING "")
 set(CMake_TEST_GUI "ON" CACHE BOOL "")
+
+# Cover compilation with C++11 only and not higher standards.
+set(CMAKE_CXX_STANDARD "11" CACHE STRING "")
+
 include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora31_common.cmake")