Skip to content

Commit

Permalink
Using VorbisFile package on OSX
Browse files Browse the repository at this point in the history
Added build instructions for OSX
  • Loading branch information
lpenguin committed Jul 29, 2016
1 parent 16d64c9 commit 825fe6c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 10 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -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.


0 comments on commit 825fe6c

Please sign in to comment.