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: Improve detection of the GLU library and GL/glu.h header file #953

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

jwillikers
Copy link
Contributor

@jwillikers jwillikers commented Apr 11, 2024

Locate the GLU library and header independent of the GL library and header locations.
Add the GLU header location to necessary target_include_directory calls.

Also, find the GL include directory and use it in target_include_directories calls.

Fixes #952.

Locate the GLU library and header independent of the GL library and header locations.
Add the GLU header location to necessary target_include_directory calls.
Find the GL include directory and use it in target_include_directories calls.
@Albrecht-S Albrecht-S self-assigned this Apr 12, 2024
@Albrecht-S Albrecht-S added CMake CMake bug or needs CMake support active Somebody is working on it labels Apr 12, 2024
@Albrecht-S
Copy link
Member

Thanks for the PR, I'm going to check it now...

@Albrecht-S Albrecht-S merged commit a6651e1 into fltk:master Apr 12, 2024
@Albrecht-S
Copy link
Member

Merged. Thanks a lot!

@jwillikers jwillikers deleted the cmake-locate-glu branch April 12, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
active Somebody is working on it CMake CMake bug or needs CMake support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build using a GLU from a non-standard location
2 participants