mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
Fixed bug 2807 - Not using CoreAudio on OS X when built via CMake
This commit is contained in:
parent
2b53ffc77c
commit
c4275f95ce
@ -1050,6 +1050,7 @@ elseif(APPLE)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_AUDIO)
|
if(SDL_AUDIO)
|
||||||
|
set(SDL_AUDIO_DRIVER_COREAUDIO 1)
|
||||||
set(MACOSX_COREAUDIO 1)
|
set(MACOSX_COREAUDIO 1)
|
||||||
file(GLOB AUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/coreaudio/*.c)
|
file(GLOB AUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/coreaudio/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${AUDIO_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${AUDIO_SOURCES})
|
||||||
|
Loading…
Reference in New Issue
Block a user