Permalink
Browse files

Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS

  • Loading branch information...
celeron55 committed Mar 25, 2012
1 parent 8e6ac5c commit 3a9753b85fe8ecd71d5ded4477e07420c5e2664c
Showing with 2 additions and 0 deletions.
  1. +1 −0 cmake/Modules/FindVorbis.cmake
  2. +1 −0 src/CMakeLists.txt
@@ -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.
View
@@ -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}

0 comments on commit 3a9753b

Please sign in to comment.