mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
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:
@ -100,6 +100,10 @@ if (WIN32)
|
|||||||
../glad/glad_wgl.c
|
../glad/glad_wgl.c
|
||||||
)
|
)
|
||||||
elseif (APPLE)
|
elseif (APPLE)
|
||||||
|
if (NOT USE_QT6)
|
||||||
|
find_library(COCOA_LIB Cocoa)
|
||||||
|
target_link_libraries(melonDS PRIVATE ${COCOA_LIB})
|
||||||
|
endif()
|
||||||
target_sources(melonDS PRIVATE
|
target_sources(melonDS PRIVATE
|
||||||
../duckstation/gl/context_agl.mm
|
../duckstation/gl/context_agl.mm
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user