Merge pull request #290 from ericwa/macos-cmake-fixes

Fix for vorbis/vorbisfile.h not found on macOS with CMake
This commit is contained in:
Yamagi 2018-04-10 07:20:51 +02:00 committed by GitHub
commit c97204e48d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ if(${OGG_SUPPORT})
find_package(OggVorbis)
if(${OGGVORBIS_FOUND})
add_definitions(-DOGG)
list(APPEND yquake2IncludeDirectories ${OGGVORBIS_INCLUDE_DIR})
list(APPEND yquake2IncludeDirectories ${VORBIS_INCLUDE_DIR})
list(APPEND yquake2ClientLinkerFlags ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY})
endif()
endif()