From a25828316043506f7cc781799c5271459ca29529 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 28 Sep 2020 09:17:57 -0400 Subject: 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. --- .gitlab/ci/configure_fedora31_ninja.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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") -- cgit v0.12