media/kid3 1.2 (NEW)
[git/cygwin-packages/kid3.git] / 1.2-libogg.patch
CommitLineData
2d55aa65 1--- origsrc/kid3-1.2/CMakeLists.txt 2009-08-23 03:42:37.209581300 -0500
2+++ src/kid3-1.2/CMakeLists.txt 2009-08-23 13:10:07.017611900 -0500
3@@ -136,15 +136,16 @@ endif(WITH_TUNEPIMP)
4 set(VORBIS_LIBRARIES)
5 if(WITH_VORBIS)
6 find_path(VORBIS_INCLUDE_DIR vorbis/vorbisfile.h)
7+ find_library(OGG_LIBRARY NAMES ogg)
8 find_library(VORBIS_LIBRARY NAMES vorbis)
9 find_library(VORBISFILE_LIBRARY NAMES vorbisfile)
10- if(VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
11- set(VORBIS_LIBRARIES ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY})
12+ if(VORBIS_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
13+ set(VORBIS_LIBRARIES ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY})
14 message(STATUS "Vorbis found: ${VORBIS_LIBRARIES}")
15 set(HAVE_VORBIS 1)
16- else(VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
17+ else(VORBIS_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
18 message(FATAL_ERROR "Could not find Vorbis")
19- endif(VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
20+ endif(VORBIS_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
21 endif(WITH_VORBIS)
22
23 ### Check for FLAC++
This page took 0.025018 seconds and 5 git commands to generate.