1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Revert "Disable SDL2 for 5.9.0 (#14944)" (#14959)

This reverts commit ebaf3c8d77.
This commit is contained in:
rubenwardy 2024-08-11 19:18:11 +01:00 committed by GitHub
parent 1222750c50
commit c6c2c4f60f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 20 additions and 13 deletions

View file

@ -15,6 +15,7 @@ zlib_version=1.3.1
zstd_version=1.5.5
libjpeg_version=3.0.1
libpng_version=1.6.40
sdl2_version=2.30.3
download () {
local url=$1
@ -87,6 +88,9 @@ add_cmake_libs () {
-DJPEG_INCLUDE_DIR=$libdir/libjpeg/include
-DJPEG_DLL="$(_dlls $libdir/libjpeg/bin/libjpeg*)"
-DCMAKE_PREFIX_PATH=$libdir/sdl2/lib/cmake
-DSDL2_DLL="$(_dlls $libdir/sdl2/bin/*)"
-DZLIB_INCLUDE_DIR=$libdir/zlib/include
-DZLIB_LIBRARY=$libdir/zlib/lib/libz.dll.a
-DZLIB_DLL=$libdir/zlib/bin/zlib1.dll