summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_fedora31_ninja.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-28 13:17:57 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-28 13:23:31 (GMT)
commita25828316043506f7cc781799c5271459ca29529 (patch)
treeb40326d46c88599160c7ced449daaad9106c359f /.gitlab/ci/configure_fedora31_ninja.cmake
parent20bd9c267435bbeb50f380c75653535c0c2620fd (diff)
downloadCMake-a25828316043506f7cc781799c5271459ca29529.zip
CMake-a25828316043506f7cc781799c5271459ca29529.tar.gz
CMake-a25828316043506f7cc781799c5271459ca29529.tar.bz2
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.
Diffstat (limited to '.gitlab/ci/configure_fedora31_ninja.cmake')
-rw-r--r--.gitlab/ci/configure_fedora31_ninja.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_fedora31_ninja.cmake b/.gitlab/ci/configure_fedora31_ninja.cmake
index 2743412..ea429c1 100644
--- a/.gitlab/ci/configure_fedora31_ninja.cmake
+++ b/.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")