CMake: Add OpenAL to link libraries.

I need this for my build. Let's hope it doesn't break the snapshots.
issue1247
Sven Eberhardt 2014-08-14 17:17:22 +02:00
parent 326d609ddc
commit d7c59d272b
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ if(Audio_TK STREQUAL "OpenAL")
set(Audio_INCLUDE_DIRS ${OpenAL_INCLUDE_DIRS} ${OggVorbis_INCLUDE_DIRS})
if (NOT APPLE)
# Apple doesn't need freealut
set(Audio_LIBRARIES ${Audio_LIBRARIES} ${Alut_LIBRARIES})
set(Audio_LIBRARIES ${Audio_LIBRARIES} ${Alut_LIBRARIES} ${OpenAL_LIBRARY})
set(Audio_INCLUDE_DIRS ${Audio_INCLUDE_DIRS} ${Alut_INCLUDE_DIRS})
else()
# but it uses the AudioToolBox framework