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