mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Update compile.sh
This commit is contained in:
parent
f441ad58c3
commit
1f439a29b0
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue