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