From 825fe6c2794854467608517ccfa9b8a36abcf63d Mon Sep 17 00:00:00 2001 From: nikita prianichnikov Date: Fri, 29 Jul 2016 14:40:40 +0300 Subject: [PATCH] Using VorbisFile package on OSX Added build instructions for OSX --- CMakeLists.txt | 4 +--- INSTALL | 10 ++++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7505b2f..7573438 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/INSTALL b/INSTALL index f4ea625..c8b0126 100644 --- a/INSTALL +++ b/INSTALL @@ -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. + +