Skip to content

Fix OpenGL libraries reference under OSX#90

Open
Dr-Zero wants to merge 1 commit intoOpenModelica:masterfrom
Dr-Zero:bugfix/imgui_cmake_opengl
Open

Fix OpenGL libraries reference under OSX#90
Dr-Zero wants to merge 1 commit intoOpenModelica:masterfrom
Dr-Zero:bugfix/imgui_cmake_opengl

Conversation

@Dr-Zero
Copy link

@Dr-Zero Dr-Zero commented Aug 25, 2025

Under OSX, the inclusion of OpenGL as a library in imgui creates a build error under OSX, as in that platform, OpenGL is include as a -framework switch instead of a -l.

This patch solves that issue by replacing OpenGL with ${OPENGL_LIBRARIES} in imgui's CMakeLists.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant