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 cd7f7f72e1
commit e1bc79b837
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ Misc:
- All: Make FIXED_ROM_BUFFER an option instead of 3DS-only
- Qt: Don't rebuild library view if style hasn't changed
- Qt: Redo GameController into multiple classes
- 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()