diff --git a/CMakeLists.txt b/CMakeLists.txt index 138237b3..d54dd16b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,9 +85,9 @@ if (WIN32) include_directories(deps/openal-soft/include) set(LOVR_OPENAL OpenAL32) else() - pkg_search_module(OPENAL REQUIRED openal) - include_directories(${OPENAL_INCLUDE_DIRS}) - set(LOVR_OPENAL ${OPENAL_LIBRARIES}) + find_package(OpenAL REQUIRED) + include_directories(${OPENAL_INCLUDE_DIR}) + set(LOVR_OPENAL openal) endif() # FreeType diff --git a/README.md b/README.md index 85c64d3c..f11f7dcc 100644 --- a/README.md +++ b/README.md @@ -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: ```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