diff options
author | Brad King <brad.king@kitware.com> | 2020-09-28 13:39:46 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-09-28 13:39:53 (GMT) |
commit | 1b03ac7da76c05bfa60e5fcf95aa2bfdf64f27cf (patch) | |
tree | ec131c669de55900c053a78f1fc010bc91118482 | |
parent | 071755c3ef0a010527b53376606749b697dae14e (diff) | |
parent | a25828316043506f7cc781799c5271459ca29529 (diff) | |
download | CMake-1b03ac7da76c05bfa60e5fcf95aa2bfdf64f27cf.zip CMake-1b03ac7da76c05bfa60e5fcf95aa2bfdf64f27cf.tar.gz CMake-1b03ac7da76c05bfa60e5fcf95aa2bfdf64f27cf.tar.bz2 |
Merge topic 'ci-cxx11'
a258283160 ci: convert one build to cover strict C++11 usage
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !5285
-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") |