summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_fedora39_ninja.cmake
blob: ff233a388e0403b32ac4be9c2f6d7454365a1f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set(CMake_TEST_GUI "ON" CACHE BOOL "")
if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "")
  set(CMake_TEST_ISPC "ON" CACHE STRING "")
endif()
set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "")

# "Release" flags without "-DNDEBUG" so we get assertions.
set(CMAKE_C_FLAGS_RELEASE "-O3" CACHE STRING "")
set(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE STRING "")

# Cover compilation with C++11 only and not higher standards.
set(CMAKE_CXX_STANDARD "11" CACHE STRING "")

include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora39_common.cmake")