Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS

This commit is contained in:
Perttu Ahola 2012-03-25 22:07:34 +03:00
parent 8e6ac5c263
commit 3a9753b85f
2 changed files with 2 additions and 0 deletions

@ -2,6 +2,7 @@
# Find the native vorbis includes and libraries # Find the native vorbis includes and libraries
# #
# VORBIS_INCLUDE_DIR - where to find vorbis.h, etc. # 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_LIBRARIES - List of libraries when using vorbis(file).
# VORBIS_FOUND - True if vorbis found. # VORBIS_FOUND - True if vorbis found.

@ -74,6 +74,7 @@ if(USE_SOUND)
set(SOUND_INCLUDE_DIRS set(SOUND_INCLUDE_DIRS
${OPENAL_INCLUDE_DIR} ${OPENAL_INCLUDE_DIR}
${VORBIS_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR}
${OGG_INCLUDE_DIR}
) )
set(SOUND_LIBRARIES set(SOUND_LIBRARIES
${OPENAL_LIBRARY} ${OPENAL_LIBRARY}