Using VorbisFile package on OSX

Added build instructions for OSX
This commit is contained in:
nikita prianichnikov
2016-07-29 14:40:40 +03:00
parent 16d64c99fa
commit 825fe6c279
2 changed files with 11 additions and 3 deletions

View File

@@ -22,9 +22,7 @@ FIND_PACKAGE(SDL2 REQUIRED)
FIND_PACKAGE(SDL2_net REQUIRED)
FIND_PACKAGE(Ogg REQUIRED)
FIND_PACKAGE(Vorbis REQUIRED)
if (NOT APPLE)
FIND_PACKAGE(VorbisFile REQUIRED)
endif (NOT APPLE)
FIND_PACKAGE(VorbisFile REQUIRED)
FIND_PACKAGE(Clunk REQUIRED)
if (MINGW)

10
INSTALL
View File

@@ -28,3 +28,13 @@ See `.travis.yml` script for the exact command lines for Ubuntu/Debian systems.
$ cd data
$ ../build/src/vangers
OSX prerequisites
a. Install homebrew
b. brew install sdl2 sdl2_net libvorbis libogg ffmpeg
c. Build/install clunk (https://github.com/stalkerg/clunk).
d. Go to 3.