equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 include (CheckLibraryExists) |
19 include (CheckLibraryExists) |
20 find_path(VORBIS_INCLUDE_DIR vorbis/vorbisfile.h) |
20 find_path(VORBIS_INCLUDE_DIR vorbis/vorbisfile.h) |
21 # [koda] (for Hedgewars) added libraries with capital names for compatibility with Mac frameworks |
21 # [koda] (for Hedgewars) added libraries with capital names for compatibility with Mac frameworks |
22 if(APPLE) |
22 |
23 set(CMAKE_FIND_FRAMEWORK "FIRST") |
|
24 endif(APPLE) |
|
25 find_library(OGG_LIBRARY NAMES ogg Ogg) |
23 find_library(OGG_LIBRARY NAMES ogg Ogg) |
26 find_library(VORBIS_LIBRARY NAMES vorbis Vorbis) |
24 find_library(VORBIS_LIBRARY NAMES vorbis Vorbis) |
27 find_library(VORBISFILE_LIBRARY NAMES vorbisfile Vorbis) |
25 find_library(VORBISFILE_LIBRARY NAMES vorbisfile Vorbis) |
28 |
26 |
29 if (OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY) |
27 if (OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY) |