mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-22 22:55:28 +01:00
MacOS: build with openal-soft (#16765)
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
Install dependencies with homebrew:
|
Install dependencies with homebrew:
|
||||||
|
|
||||||
```
|
```
|
||||||
brew install cmake freetype gettext gmp hiredis jpeg-turbo jsoncpp leveldb libogg libpng libvorbis luajit zstd gettext
|
brew install cmake freetype gettext gmp hiredis jpeg-turbo jsoncpp leveldb libogg libpng libvorbis luajit zstd gettext sdl2 openal-soft
|
||||||
```
|
```
|
||||||
|
|
||||||
## Download
|
## Download
|
||||||
@@ -66,6 +66,8 @@ cmake .. \
|
|||||||
-DOGG_LIBRARY=/path/to/lib/dir/libogg.a \
|
-DOGG_LIBRARY=/path/to/lib/dir/libogg.a \
|
||||||
-DVORBIS_LIBRARY=/path/to/lib/dir/libvorbis.a \
|
-DVORBIS_LIBRARY=/path/to/lib/dir/libvorbis.a \
|
||||||
-DVORBISFILE_LIBRARY=/path/to/lib/dir/libvorbisfile.a \
|
-DVORBISFILE_LIBRARY=/path/to/lib/dir/libvorbisfile.a \
|
||||||
|
-DOPENAL_LIBRARY=/path/to/lib/dir/libopenal.a \
|
||||||
|
-DOPENAL_INCLUDE_DIR=/path/to/include/dir/AL \
|
||||||
-DZSTD_LIBRARY=/path/to/lib/dir/libzstd.a \
|
-DZSTD_LIBRARY=/path/to/lib/dir/libzstd.a \
|
||||||
-DGMP_LIBRARY=/path/to/lib/dir/libgmp.a \
|
-DGMP_LIBRARY=/path/to/lib/dir/libgmp.a \
|
||||||
-DJSON_LIBRARY=/path/to/lib/dir/libjsoncpp.a \
|
-DJSON_LIBRARY=/path/to/lib/dir/libjsoncpp.a \
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ cmake_args=(
|
|||||||
-DVORBIS_LIBRARY=${DEPS_DIR}/lib/libvorbis.a
|
-DVORBIS_LIBRARY=${DEPS_DIR}/lib/libvorbis.a
|
||||||
-DVORBISFILE_LIBRARY=${DEPS_DIR}/lib/libvorbisfile.a
|
-DVORBISFILE_LIBRARY=${DEPS_DIR}/lib/libvorbisfile.a
|
||||||
-DVORBIS_INCLUDE_DIR=${DEPS_DIR}/include
|
-DVORBIS_INCLUDE_DIR=${DEPS_DIR}/include
|
||||||
|
-DOPENAL_LIBRARY=${DEPS_DIR}/lib/libopenal.a
|
||||||
|
-DOPENAL_INCLUDE_DIR=${DEPS_DIR}/include/AL
|
||||||
-DZSTD_LIBRARY=${DEPS_DIR}/lib/libzstd.a
|
-DZSTD_LIBRARY=${DEPS_DIR}/lib/libzstd.a
|
||||||
-DZSTD_INCLUDE_DIR=${DEPS_DIR}/include
|
-DZSTD_INCLUDE_DIR=${DEPS_DIR}/include
|
||||||
-DGMP_LIBRARY=${DEPS_DIR}/lib/libgmp.a
|
-DGMP_LIBRARY=${DEPS_DIR}/lib/libgmp.a
|
||||||
|
|||||||
Reference in New Issue
Block a user