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

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