From: Perttu Ahola Date: Sun, 25 Mar 2012 19:07:34 +0000 (+0300) Subject: Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=3a9753b85fe8ecd71d5ded4477e07420c5e2664c;p=zefram%2Fminetest%2Fminetest_engine.git Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS --- diff --git a/cmake/Modules/FindVorbis.cmake b/cmake/Modules/FindVorbis.cmake index e0cb2c1a..8f381369 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 b0cece12..5cc50222 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}