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

CMake: Avoid libGLU dependency #4994

Merged
merged 1 commit into from
Nov 3, 2020
Merged

Conversation

pcercuei
Copy link
Contributor

@pcercuei pcercuei commented Nov 3, 2020

Set the GLEW_NO_GLU build flag to avoid pulling in <gl/glu.h> when
including <gl/glew.h>, as it otherwise adds a dependency we don't
actually need.

Set the GLEW_NO_GLU build flag to avoid pulling in <gl/glu.h> when
including <gl/glew.h>, as it otherwise adds a dependency we don't
actually need.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Copy link
Contributor

@The-EG The-EG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be an issue with Windows at all, but I tested compiling it anyway.

Both the cmake and solution built and ran; the fickle MSVC gods are still satisfied...for now...

@Web-eWorks Web-eWorks merged commit 200b52b into pioneerspacesim:master Nov 3, 2020
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.

3 participants