diff options
author | Brad King <brad.king@kitware.com> | 2020-09-28 13:17:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-28 13:23:31 (GMT) |
commit | a25828316043506f7cc781799c5271459ca29529 (patch) | |
tree | b40326d46c88599160c7ced449daaad9106c359f /.gitlab | |
parent | 20bd9c267435bbeb50f380c75653535c0c2620fd (diff) | |
download | CMake-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')
-rw-r--r-- | .gitlab/ci/configure_fedora31_ninja.cmake | 4 |
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") |