diff --git a/modules/FindSDL2.cmake b/modules/FindSDL2.cmake index a8992a819..e603bddb0 100644 --- a/modules/FindSDL2.cmake +++ b/modules/FindSDL2.cmake @@ -178,21 +178,23 @@ endif() # building SDL statically using its CMake project, on iOS always. if(CORRADE_TARGET_APPLE AND SDL2_LIBRARY MATCHES "${CMAKE_STATIC_LIBRARY_SUFFIX}$") set(_SDL2_FRAMEWORKS + iconv # should be in the system, needed by iOS as well now AudioToolbox AVFoundation - Foundation) + CoreHaptics # needed since 2.0.18(?) on iOS and macOS + Foundation + Metal # needed since 2.0.8 on iOS, since 2.0.14 on macOS + GameController) # needed since 2.0.18(?) on macOS as well if(CORRADE_TARGET_IOS) list(APPEND _SDL2_FRAMEWORKS + CoreBluetooth # needed since 2.0.10 CoreGraphics CoreMotion Foundation - GameController - Metal # needed since 2.0.8 QuartzCore UIKit) else() list(APPEND _SDL2_FRAMEWORKS - iconv # should be in the system Carbon Cocoa CoreAudio