ensure that we actually link the OpenGL library on macOS
This commit is contained in:
parent
1302cbdd64
commit
b55eb431bd
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue