From f9af2c0153964f843ecd2bcbd890573444245372 Mon Sep 17 00:00:00 2001 From: spiral Date: Sat, 7 Jan 2012 23:38:33 +0000 Subject: [PATCH] Remove hard-wired -framework OpenAL We already link to OPENAL_LIBRARY further down. Log some debug OpenAL info, mainly so OSX users can check they are not using Apple's OpenAL. OpenAL Soft is recommended as it fixes many issues. I specify it as follows: cmake -DOPENAL_LIBRARY=/usr/local/lib/libopenal.dylib -DOPENAL_INCLUDE_DIR=/usr/local/include -GXcode ../neo/ (because FindOpenAL.cmake prefers the /System frameworks) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 821a2a5..bc53bec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,7 +188,7 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang") message(FATAL_ERROR "Unsupported CPU architecture for OSX") endif() - set(sys_libs ${sys_libs} "-framework Carbon -framework Cocoa -framework OpenGL -framework OpenAL -framework IOKit") + set(sys_libs ${sys_libs} "-framework Carbon -framework Cocoa -framework OpenGL -framework IOKit") else() if (cpu STREQUAL "x86" AND X86) add_definitions(-m32)