diff options
author | Brad King <brad.king@kitware.com> | 2020-12-10 15:30:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-12-10 15:53:59 (GMT) |
commit | b184cc256b4eb0c140accc913dd3e62e08650c74 (patch) | |
tree | b8543c63549e694efa5ff03d5685e41ba4ef44cf /.gitlab/ci/configure_common.cmake | |
parent | 41bddf1028689981d736b39665242fa0f91c99f8 (diff) | |
download | CMake-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.cmake | 4 |
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() |