From 1f439a29b0def8a25e7c22eb4fa11a86de1005be Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 14 Mar 2026 07:58:48 +0100 Subject: [PATCH] Update compile.sh --- .ci/compile.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/compile.sh b/.ci/compile.sh index 424527f96..427cc0438 100755 --- a/.ci/compile.sh +++ b/.ci/compile.sh @@ -134,6 +134,10 @@ if [[ $USE_CCACHE ]]; then ccache --max-size "$CCACHE_SIZE" fi fi +if [[ $USE_SCCACHE ]]; then + flags+=("-DCMAKE_C_COMPILER_LAUNCHER=sccache") + flags+=("-DCMAKE_CXX_COMPILER_LAUNCHER=sccache") +fi if [[ $PACKAGE_TYPE ]]; then flags+=("-DCPACK_GENERATOR=$PACKAGE_TYPE") fi