Skip to content

Commit

Permalink
ensure that we actually link the OpenGL library on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiaholmquist committed Jul 7, 2024
1 parent 1302cbd commit b55eb43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/qt_sdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit b55eb43

Please sign in to comment.