bugfix for vorbisfile on macosx

This commit is contained in:
Mark Vejvoda 2011-10-14 22:39:33 +00:00
parent 5c9e57dfb9
commit e90ac0fb94
1 changed files with 3 additions and 2 deletions

View File

@ -17,9 +17,10 @@ FIND_LIBRARY(OGG_LIBRARY NAMES ogg)
FIND_LIBRARY(VORBIS_LIBRARY NAMES vorbis)
#on macosx the vorbisfile library is part of the vorbisone...
IF(NOT APPLE)
#IF(NOT APPLE)
# comment above is full of lies
FIND_LIBRARY(VORBIS_FILE_LIBRARY NAMES vorbisfile)
ENDIF(NOT APPLE)
#ENDIF(NOT APPLE)
IF(OGG_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND (APPLE OR VORBIS_FILE_LIBRARY))
SET(OGG_FOUND TRUE)