From 9fa81a6ab8bd1d36be0c1d166ab8f40c129aa14e Mon Sep 17 00:00:00 2001 From: Automatic Release Builder Date: Thu, 6 Jan 2022 14:15:51 +0000 Subject: [PATCH] Tweak Mac Jenkins script to optionally use OpenAL-soft --- hudson_mac_build_release.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hudson_mac_build_release.sh b/hudson_mac_build_release.sh index 6c91395..a796f0f 100755 --- a/hudson_mac_build_release.sh +++ b/hudson_mac_build_release.sh @@ -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