summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_common.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-10 15:30:30 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-10 15:53:59 (GMT)
commitb184cc256b4eb0c140accc913dd3e62e08650c74 (patch)
treeb8543c63549e694efa5ff03d5685e41ba4ef44cf /.gitlab/ci/configure_common.cmake
parent41bddf1028689981d736b39665242fa0f91c99f8 (diff)
downloadCMake-b184cc256b4eb0c140accc913dd3e62e08650c74.zip
CMake-b184cc256b4eb0c140accc913dd3e62e08650c74.tar.gz
CMake-b184cc256b4eb0c140accc913dd3e62e08650c74.tar.bz2
ci: do not use sccache for macOS packaging
It is not compatible with building for multiple architectures.
Diffstat (limited to '.gitlab/ci/configure_common.cmake')
-rw-r--r--.gitlab/ci/configure_common.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab/ci/configure_common.cmake b/.gitlab/ci/configure_common.cmake
index df49b2d..436e582 100644
--- a/.gitlab/ci/configure_common.cmake
+++ b/.gitlab/ci/configure_common.cmake
@@ -10,4 +10,6 @@ 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")
+if (NOT configure_no_sccache)
+ include("${CMAKE_CURRENT_LIST_DIR}/configure_sccache.cmake")
+endif()