diff options
-rw-r--r-- | cmake/Modules/FindVorbis.cmake | 1 | ||||
-rw-r--r-- | src/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Modules/FindVorbis.cmake b/cmake/Modules/FindVorbis.cmake index e0cb2c1ac..8f3813694 100644 --- a/cmake/Modules/FindVorbis.cmake +++ b/cmake/Modules/FindVorbis.cmake @@ -2,6 +2,7 @@ # Find the native vorbis includes and libraries # # VORBIS_INCLUDE_DIR - where to find vorbis.h, etc. +# OGG_INCLUDE_DIR - where to find ogg/ogg.h, etc. # VORBIS_LIBRARIES - List of libraries when using vorbis(file). # VORBIS_FOUND - True if vorbis found. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b0cece120..5cc502225 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -74,6 +74,7 @@ if(USE_SOUND) set(SOUND_INCLUDE_DIRS ${OPENAL_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR} + ${OGG_INCLUDE_DIR} ) set(SOUND_LIBRARIES ${OPENAL_LIBRARY} |