summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_common.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-05-08 14:15:27 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-05-22 15:34:14 (GMT)
commita1b1fc611bc8aeb519b79b3e1b86ce4e4dbc55e9 (patch)
treec2820dc710396a9de6b6758a9ce7d182184d7016 /.gitlab/ci/configure_common.cmake
parent3e1a1ba92d0e64324916f65214b633bc067997bf (diff)
downloadCMake-a1b1fc611bc8aeb519b79b3e1b86ce4e4dbc55e9.zip
CMake-a1b1fc611bc8aeb519b79b3e1b86ce4e4dbc55e9.tar.gz
CMake-a1b1fc611bc8aeb519b79b3e1b86ce4e4dbc55e9.tar.bz2
gitlab-ci: add Linux makefiles and ninja builders
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")