diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 628a19dd5..8de3d215e 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -151,6 +151,9 @@ if( NOT NO_OPENAL ) mark_as_advanced(CLEAR OPENAL_LIBRARY) if( OPENAL_LIBRARY ) set( PROJECT_LIBRARIES ${OPENAL_LIBRARY} ${PROJECT_LIBRARIES} ) + if( APPLE ) + set( PROJECT_LIBRARIES ${PROJECT_LIBRARIES} "-framework AudioUnit -framework CoreAudio -framework ApplicationServices -framework AudioToolbox -framework CoreFoundation" ) + endif() else() set( NO_OPENAL ON ) endif()