mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 12:02:36 +02:00
bugfix for vorbisfile on macosx
This commit is contained in:
@@ -17,9 +17,10 @@ FIND_LIBRARY(OGG_LIBRARY NAMES ogg)
|
|||||||
FIND_LIBRARY(VORBIS_LIBRARY NAMES vorbis)
|
FIND_LIBRARY(VORBIS_LIBRARY NAMES vorbis)
|
||||||
|
|
||||||
#on macosx the vorbisfile library is part of the vorbisone...
|
#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)
|
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))
|
IF(OGG_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND (APPLE OR VORBIS_FILE_LIBRARY))
|
||||||
SET(OGG_FOUND TRUE)
|
SET(OGG_FOUND TRUE)
|
||||||
|
Reference in New Issue
Block a user