Przeglądaj źródła

Merge topic 'ci-cxx11'

a258283160 ci: convert one build to cover strict C++11 usage

Acked-by: Kitware Robot <[email protected]>
Acked-by: Ben Boeckel <[email protected]>
Merge-request: !5285
Brad King 5 lat temu
rodzic
commit
1b03ac7da7
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      .gitlab/ci/configure_fedora31_ninja.cmake

+ 4 - 0
.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")