diff options
author | Laszlo Papp <lpapp@kde.org> | 2011-12-06 15:42:22 +0200 |
---|---|---|
committer | Laszlo Papp <ext-laszlo.papp@nokia.com> | 2011-12-06 15:42:22 +0200 |
commit | 2bd5bfaaaeaf95af4e611a8f7184b54ea2b1c393 (patch) | |
tree | e8667e7205e0b46636fea20a290db75ce56b5cd5 | |
parent | fb22c075b11e37987cbb500a9219236d502337ae (diff) |
Try to find the OggVorbis library and print the support of it accordingly
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3420825..42f27a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,6 +29,13 @@ endif(NOT OPENAL_FOUND) message(STATUS "OpenAL include: ${OPENAL_INCLUDE_DIR}") message(STATUS "OpenAL lib: ${OPENAL_LIBRARY}") +find_package(OggVorbis) +if(OGGVORBIS_FOUND) + message(STATUS "VorbisFile support: enabled") +else(OGGVORBIS_FOUND) + message(STATUS "VorbisFile support: disabled") +endif(OGGVORBIS_FOUND) + find_package(SndFile) if(SNDFILE_FOUND) message(STATUS "SndFile support: enabled") |