Skip to content

Commit b55eb43

Browse files
ensure that we actually link the OpenGL library on macOS
1 parent 1302cbd commit b55eb43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/frontend/qt_sdl/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ elseif (APPLE)
121121
find_library(COCOA_LIB Cocoa)
122122
target_link_libraries(melonDS PRIVATE ${COCOA_LIB})
123123
endif()
124+
find_library(OPENGL_LIB OpenGL)
125+
target_link_libraries(melonDS PRIVATE ${OPENGL_LIB})
124126
target_sources(melonDS PRIVATE
125127
../duckstation/gl/context_agl.mm
126128
)

0 commit comments

Comments
 (0)