Skip to content
Permalink
Browse files
Fixed bug 2807 - Not using CoreAudio on OS X when built via CMake
  • Loading branch information
fhd committed Jan 17, 2015
1 parent 2b53ffc commit c4275f95ce925ff279fc09b1394342d6c6fd42b1
Showing with 1 addition and 0 deletions.
  1. +1 −0 CMakeLists.txt
@@ -1050,6 +1050,7 @@ elseif(APPLE)
endif()

if(SDL_AUDIO)
set(SDL_AUDIO_DRIVER_COREAUDIO 1)
set(MACOSX_COREAUDIO 1)
file(GLOB AUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/coreaudio/*.c)
set(SOURCE_FILES ${SOURCE_FILES} ${AUDIO_SOURCES})

0 comments on commit c4275f9

Please sign in to comment.