diff --git a/tools/macOS_dependencies_build.sh b/tools/macOS_dependencies_build.sh index d72069768..db36dfcd4 100755 --- a/tools/macOS_dependencies_build.sh +++ b/tools/macOS_dependencies_build.sh @@ -74,7 +74,7 @@ cd .. echo "\nBuilding SDL" cd SDL/build rm -f CMakeCache.txt -cmake -S .. -B . +cmake -DCMAKE_BUILD_TYPE=Release -S .. -B . make clean make -j${JOBS} cp libSDL2-2.0.dylib ../../.. diff --git a/tools/macOS_dependencies_setup.sh b/tools/macOS_dependencies_setup.sh index df9645ead..349d99ca6 100755 --- a/tools/macOS_dependencies_setup.sh +++ b/tools/macOS_dependencies_setup.sh @@ -157,7 +157,7 @@ echo "\nSetting up SDL" rm -rf SDL git clone https://github.com/libsdl-org/SDL.git cd SDL -git checkout release-2.0.20 +git checkout release-2.24.0 ln -s include SDL2 mkdir build cd ..