Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/CMakeLists.txt b/CMakeLists.txt
- index 598fe9e..c36b29b 100644
- --- a/CMakeLists.txt
- +++ b/CMakeLists.txt
- @@ -179,11 +179,15 @@ ELSE()
- ENDIF()
- FIND_LIBRARY(VORBIS_LIBRARY vorbisfile)
- -find_path(VORBIS_FILE vorbisfile.h PATH_SUFFIXES vorbis)
- -IF(VORBIS_LIBRARY AND VORBIS_FILE)
- - MESSAGE(STATUS "Looking for Ogg Vorbis support: found")
- -ELSE()
- - unset(VORBIS_LIBRARY) # disable the build for this plugin
- +IF(VORBIS_LIBRARY)
- + find_path(VORBIS_FILE vorbisfile.h PATH_SUFFIXES vorbis)
- + IF(VORBIS_FILE)
- + MESSAGE(STATUS "Looking for Ogg Vorbis support: found")
- + ELSE()
- + unset(VORBIS_LIBRARY) # disable the build for this plugin
- + ENDIF()
- +ENDIF()
- +IF(VORBIS_LIBRARY)
- MESSAGE(WARNING "Looking for Ogg Vorbis support: not found!")
- MESSAGE(WARNING "While no original game data is in OGG format, some mod data is and will need conversion.")
- ENDIF()
Add Comment
Please, Sign In to add comment