diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-25 22:07:34 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-25 22:07:34 +0300 |
commit | 3a9753b85fe8ecd71d5ded4477e07420c5e2664c (patch) | |
tree | 2b56db2a51121d8b75d121a5f9144fd866fdab5c | |
parent | 8e6ac5c263e720dac458af65a2d385e90cff7dd4 (diff) | |
download | minetest-3a9753b85fe8ecd71d5ded4477e07420c5e2664c.tar.gz minetest-3a9753b85fe8ecd71d5ded4477e07420c5e2664c.tar.bz2 minetest-3a9753b85fe8ecd71d5ded4477e07420c5e2664c.zip |
Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS
-rw-r--r-- | cmake/Modules/FindVorbis.cmake | 1 | ||||
-rw-r--r-- | src/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
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} |