-
Notifications
You must be signed in to change notification settings - Fork 628
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 package 'gl' not found #49
Comments
OS: Ubuntu 14.04 x64 |
The CMake support in 1.12.0 was a bit immature. It has been rewritten since. Can you try the HEAD instead? It finds OpenGL with the proper CMake module instead of pkgconfig. |
If I remove the
and build I then get this error:
|
On a hunch I tried running |
Now the problem is that ExternalProject thinks the source directory is the root of the GLEW repo, instead of the build/cmake subdirectory. Despite you correctly specified the SOURCE_DIR option. |
Woops forgot to update that. I removed the source dir option from external project |
Just tweeked a couple things in the external project and it worked
|
I have a CMake project that adds GLEW as an external project
When I go to build with Make I get this error
This is odd because I know I have OpenGL
The text was updated successfully, but these errors were encountered: