Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS
authorPerttu Ahola <celeron55@gmail.com>
Sun, 25 Mar 2012 19:07:34 +0000 (22:07 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 25 Mar 2012 19:07:34 +0000 (22:07 +0300)
cmake/Modules/FindVorbis.cmake
src/CMakeLists.txt

index e0cb2c1ac289d506ed054d6ef2f1ecb45a4be30a..8f381369427ca3d7a211a9d7a525631eee3db76b 100644 (file)
@@ -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.
 
index b0cece120479a16f00d6e4a5d750c8da75c153a7..5cc50222557dc2ea44028dfee5de2666a9227b71 100644 (file)
@@ -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}