Update compile.sh

This commit is contained in:
tooomm 2026-03-14 07:58:48 +01:00 committed by GitHub
parent f441ad58c3
commit 1f439a29b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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