mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
ensure that we actually link the OpenGL library on macOS
This commit is contained in:
@ -121,6 +121,8 @@ elseif (APPLE)
|
|||||||
find_library(COCOA_LIB Cocoa)
|
find_library(COCOA_LIB Cocoa)
|
||||||
target_link_libraries(melonDS PRIVATE ${COCOA_LIB})
|
target_link_libraries(melonDS PRIVATE ${COCOA_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
find_library(OPENGL_LIB OpenGL)
|
||||||
|
target_link_libraries(melonDS PRIVATE ${OPENGL_LIB})
|
||||||
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