Tweak Mac Jenkins script to optionally use OpenAL-soft
This commit is contained in:
parent
52c0efedb7
commit
9fa81a6ab8
1 changed files with 8 additions and 1 deletions
|
@ -26,8 +26,15 @@ cmakeCommonArgs="-G Ninja -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DCMAKE_BU
|
|||
|
||||
###############################################################################
|
||||
echo "Starting on SimGear"
|
||||
|
||||
cmakeSimGearArgs=""
|
||||
if [ $SG_USE_OPENALSOFT == '1' ]; then
|
||||
echo "Requested ot build with OpenAL-soft"
|
||||
cmakeSimGearArgs="-DUSE_OPENALSOFT:BOOL=ON"
|
||||
fi
|
||||
|
||||
pushd sgBuild
|
||||
cmake ${cmakeCommonArgs} ../simgear
|
||||
cmake ${cmakeCommonArgs} ${cmakeSimGearArgs} ../simgear
|
||||
|
||||
# compile
|
||||
cmake --build . --target debug_symbols
|
||||
|
|
Loading…
Reference in a new issue