--- a/cmake_modules/FindOggVorbis.cmake Fri Nov 06 18:24:55 2009 +0000
+++ b/cmake_modules/FindOggVorbis.cmake Fri Nov 06 18:59:43 2009 +0000
@@ -19,9 +19,7 @@
include (CheckLibraryExists)
find_path(VORBIS_INCLUDE_DIR vorbis/vorbisfile.h)
# [koda] (for Hedgewars) added libraries with capital names for compatibility with Mac frameworks
-if(APPLE)
-set(CMAKE_FIND_FRAMEWORK "FIRST")
-endif(APPLE)
+
find_library(OGG_LIBRARY NAMES ogg Ogg)
find_library(VORBIS_LIBRARY NAMES vorbis Vorbis)
find_library(VORBISFILE_LIBRARY NAMES vorbisfile Vorbis)