summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_macos_arm64_pch.cmake
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/configure_macos_arm64_pch.cmake')
-rw-r--r--.gitlab/ci/configure_macos_arm64_pch.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_macos_arm64_pch.cmake b/.gitlab/ci/configure_macos_arm64_pch.cmake
new file mode 100644
index 0000000..e2676ba
--- /dev/null
+++ b/.gitlab/ci/configure_macos_arm64_pch.cmake
@@ -0,0 +1,7 @@
+set(CMake_BUILD_PCH "ON" CACHE BOOL "")
+
+# sccache does not forward the PCH '-Xarch_arm64 "-include/..."' flag correctly.
+set(configure_no_sccache 1)
+
+include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake")
+include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")