Use weak_framework for CoreHaptics

This commit is contained in:
Benau
2021-05-05 13:57:55 +08:00
parent ab7ad6058f
commit 9a20cda1e7

View File

@@ -649,7 +649,7 @@ endif()
if(NOT SERVER_ONLY)
if (IOS)
target_link_libraries(supertuxkart "-framework CoreHaptics -framework QuartzCore -framework CoreGraphics -framework AVFoundation -framework AudioToolbox -framework Metal -framework GameController -framework OpenGLES -framework UIKit -framework CoreAudio -framework CoreMotion -framework Foundation -framework GLKit")
target_link_libraries(supertuxkart "-weak_framework CoreHaptics -framework QuartzCore -framework CoreGraphics -framework AVFoundation -framework AudioToolbox -framework Metal -framework GameController -framework OpenGLES -framework UIKit -framework CoreAudio -framework CoreMotion -framework Foundation -framework GLKit")
endif()
target_link_libraries(supertuxkart