1
0
Fork 0
mirror of https://github.com/melonDS-emu/melonDS.git synced 2025-03-06 21:00:31 +01:00

ensure that we actually link the OpenGL library on macOS

This commit is contained in:
Nadia Holmquist Pedersen 2024-07-07 13:45:45 +02:00
parent 1302cbdd64
commit b55eb431bd

View file

@ -121,6 +121,8 @@ elseif (APPLE)
find_library(COCOA_LIB Cocoa)
target_link_libraries(melonDS PRIVATE ${COCOA_LIB})
endif()
find_library(OPENGL_LIB OpenGL)
target_link_libraries(melonDS PRIVATE ${OPENGL_LIB})
target_sources(melonDS PRIVATE
../duckstation/gl/context_agl.mm
)