summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_common.cmake
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/configure_common.cmake')
-rw-r--r--.gitlab/ci/configure_common.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_common.cmake b/.gitlab/ci/configure_common.cmake
index 165ae55..4585224 100644
--- a/.gitlab/ci/configure_common.cmake
+++ b/.gitlab/ci/configure_common.cmake
@@ -6,4 +6,8 @@ set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY "ON" CACHE STRING "")
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "")
set(CMake_TEST_INSTALL "OFF" CACHE BOOL "")
+if (NOT "$ENV{CMAKE_BUILD_TYPE}" STREQUAL "")
+ set(CMAKE_BUILD_TYPE "$ENV{CMAKE_BUILD_TYPE}" CACHE STRING "")
+endif ()
+
include("${CMAKE_CURRENT_LIST_DIR}/configure_sccache.cmake")