Tweak Mac Jenkins script to optionally use OpenAL-soft
This commit is contained in:
parent
52c0efedb7
commit
9fa81a6ab8
@ -26,8 +26,15 @@ cmakeCommonArgs="-G Ninja -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DCMAKE_BU
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
echo "Starting on SimGear"
|
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
|
pushd sgBuild
|
||||||
cmake ${cmakeCommonArgs} ../simgear
|
cmake ${cmakeCommonArgs} ${cmakeSimGearArgs} ../simgear
|
||||||
|
|
||||||
# compile
|
# compile
|
||||||
cmake --build . --target debug_symbols
|
cmake --build . --target debug_symbols
|
||||||
|
Loading…
Reference in New Issue
Block a user