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.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_common.cmake b/.gitlab/ci/configure_common.cmake
index fc2aaae..165ae55 100644
--- a/.gitlab/ci/configure_common.cmake
+++ b/.gitlab/ci/configure_common.cmake
@@ -1,3 +1,9 @@
set(CTEST_USE_LAUNCHERS "ON" CACHE STRING "")
+# We run the install right after the build. Avoid rerunning it when installing.
+set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY "ON" CACHE STRING "")
+# Install CMake under the build tree.
+set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "")
+set(CMake_TEST_INSTALL "OFF" CACHE BOOL "")
+
include("${CMAKE_CURRENT_LIST_DIR}/configure_sccache.cmake")