macOS: Link Cocoa framework explicitly when not building with Qt6
Seems to be needed for the classes used by DuckStation's GL context code.
This commit is contained in:
parent
c68e8ee8ef
commit
2f4bd45e5e
|
@ -100,6 +100,10 @@ if (WIN32)
|
|||
../glad/glad_wgl.c
|
||||
)
|
||||
elseif (APPLE)
|
||||
if (NOT USE_QT6)
|
||||
find_library(COCOA_LIB Cocoa)
|
||||
target_link_libraries(melonDS PRIVATE ${COCOA_LIB})
|
||||
endif()
|
||||
target_sources(melonDS PRIVATE
|
||||
../duckstation/gl/context_agl.mm
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue