mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 04:31:15 +00:00
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)
This commit is contained in:
parent
4be94a8ff5
commit
f9af2c0153
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue