From 3a9753b85fe8ecd71d5ded4477e07420c5e2664c Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 25 Mar 2012 22:07:34 +0300 Subject: [PATCH] Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS --- cmake/Modules/FindVorbis.cmake | 1 + src/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) 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} -- 2.30.2