Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize to any OpenGL binding #6050

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ManDay
Copy link

@ManDay ManDay commented Feb 6, 2025

Due to an unfortunate design of the FindOpenGL.cmake module, not specifying COMPONENTS OpenGL would fail for systems without GLX, and OPENGL_LIBRARIES would not be set, either.

This should hopefully work for both now (until cmake modifies the module).

Due to an unfortunate design of the FindOpenGL.cmake module, not specifying `COMPONENTS OpenGL` would fail for systems without GLX, and OPENGL_LIBRARIES would not be set, either.
@ManDay
Copy link
Author

ManDay commented Feb 6, 2025

FTR: The latest release of GLEW also doesn't compile against EGL and needs some minor Makefile modifications. So this will only be useful when GLEW releases a new version for EGL support.

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