mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 18:45:46 -04:00
Build: Link with objc runtime on macOS
This commit is contained in:
@ -172,6 +172,11 @@ if(USE_WAYLAND)
|
||||
target_link_libraries(common PRIVATE Wayland::Egl)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
# Needed for Vulkan Swap Chain.
|
||||
target_link_libraries(common PRIVATE "objc")
|
||||
endif()
|
||||
|
||||
if(APPLE AND NOT BUILD_LIBRETRO_CORE)
|
||||
target_sources(common PRIVATE
|
||||
gl/context_agl.mm
|
||||
|
Reference in New Issue
Block a user