Small macOS compilation fixes;

This commit is contained in:
bjorn 2017-02-19 13:21:27 -08:00
parent 74660df49f
commit 42165e65b2
2 changed files with 4 additions and 4 deletions

View File

@ -85,9 +85,9 @@ if (WIN32)
include_directories(deps/openal-soft/include) include_directories(deps/openal-soft/include)
set(LOVR_OPENAL OpenAL32) set(LOVR_OPENAL OpenAL32)
else() else()
pkg_search_module(OPENAL REQUIRED openal) find_package(OpenAL REQUIRED)
include_directories(${OPENAL_INCLUDE_DIRS}) include_directories(${OPENAL_INCLUDE_DIR})
set(LOVR_OPENAL ${OPENAL_LIBRARIES}) set(LOVR_OPENAL openal)
endif() endif()
# FreeType # FreeType

View File

@ -141,7 +141,7 @@ git clone --branch v1.0.5 https://github.com/ValveSoftware/openvr.git
Next, install the other dependencies above using your package manager of choice: Next, install the other dependencies above using your package manager of choice:
```sh ```sh
brew install assimp glfw3 luajit physfs brew install assimp glfw3 luajit physfs freetype openal-soft
``` ```
On OSX, you'll need to set the `DYLD_LIBRARY_PATH` environment variable to be On OSX, you'll need to set the `DYLD_LIBRARY_PATH` environment variable to be