1
0
Fork 0

Tweak Mac Jenkins script to optionally use OpenAL-soft

This commit is contained in:
Automatic Release Builder 2022-01-06 14:15:51 +00:00
parent 52c0efedb7
commit 9fa81a6ab8

View file

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