From: Perttu Ahola Date: Sun, 25 Mar 2012 19:07:34 +0000 (+0300) Subject: Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS X-Git-Tag: 0.4.dev-20120326~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3a9753b85fe8ecd71d5ded4477e07420c5e2664c;p=oweals%2Fminetest.git Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS --- 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}