SDL: Fix Windows build on static 2.0.10

This commit is contained in:
Vicki Pfau 2020-02-12 23:53:12 -08:00
parent 8a8b4add91
commit 07f6c6c7e2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ if(USE_PIXMAN)
endif()
if(WIN32)
list(APPEND SDL_LIBRARY imm32 version winmm)
list(APPEND SDL_LIBRARY imm32 setupapi version winmm)
elseif(APPLE)
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)