summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_fedora34_ninja.cmake
blob: 629f7920a04176d182b7478e34d96a531554bbda (plain)
1
2
3
4
5
6
7
8
9
10
11
set(CMake_TEST_ISPC "ON" CACHE STRING "")
set(CMake_TEST_GUI "ON" CACHE BOOL "")

# "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_fedora34_common.cmake")