mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Make SDL2 default on macOS (#16039)
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
cmake .. \
|
||||
-DCMAKE_FIND_FRAMEWORK=LAST \
|
||||
-DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE \
|
||||
-DUSE_SDL2_STATIC=TRUE \
|
||||
-DSDL2_INCLUDE_DIRS=/opt/homebrew/include/SDL2 \
|
||||
-DFREETYPE_LIBRARY=/opt/homebrew/lib/libfreetype.a \
|
||||
-DGETTEXT_INCLUDE_DIR=/path/to/include/dir \
|
||||
-DGETTEXT_INCLUDE_DIR=/opt/homebrew/include \
|
||||
-DGETTEXT_LIBRARY=/opt/homebrew/lib/libintl.a \
|
||||
-DLUA_LIBRARY=/opt/homebrew/lib/libluajit-5.1.a \
|
||||
-DOGG_LIBRARY=/opt/homebrew/lib/libogg.a \
|
||||
|
@@ -29,7 +29,7 @@ install_linux_deps() {
|
||||
install_macos_deps() {
|
||||
local pkgs=(
|
||||
cmake gettext freetype gmp jpeg-turbo jsoncpp leveldb
|
||||
libogg libpng libvorbis luajit zstd
|
||||
libogg libpng libvorbis luajit zstd sdl2
|
||||
)
|
||||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
|
||||
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||
|
Reference in New Issue
Block a user