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)
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue