diff options
author | Brad King <brad.king@kitware.com> | 2020-09-28 09:17:57 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-28 09:23:31 -0400 |
commit | a25828316043506f7cc781799c5271459ca29529 (patch) | |
tree | b40326d46c88599160c7ced449daaad9106c359f /.gitlab | |
parent | 20bd9c267435bbeb50f380c75653535c0c2620fd (diff) | |
download | cmake-a25828316043506f7cc781799c5271459ca29529.tar.gz |
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 27434127b6..ea429c1b4a 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") |