SDL: Fix 2.0.5 build on macOS under some circumstances

This commit is contained in:
Vicki Pfau 2017-07-29 15:59:00 -07:00
parent aa9994a486
commit 8684a0b221
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ Bugfixes:
- GB Memory: Prevent accessing empty SRAM (fixes mgba.io/i/831)
Misc:
- Qt: Don't rebuild library view if style hasn't changed
- SDL: Fix 2.0.5 build on macOS under some circumstances
0.6.0: (2017-07-16)
Features:

View File

@ -34,7 +34,7 @@ endif()
if(WIN32)
list(APPEND SDL_LIBRARY imm32 version winmm)
elseif(APPLE)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework AppKit -framework AudioUnit -framework Carbon -framework CoreAudio -framework ForceFeedback -framework IOKit")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework AppKit -framework AudioUnit -framework Carbon -framework CoreAudio -framework AudioToolbox -framework ForceFeedback -framework IOKit")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}" PARENT_SCOPE)
endif()