[CMake] Problem Finding OpenGL on BSD...
Asmodehn Shade
asmodehn at gmail.com
Fri May 26 07:10:49 EDT 2006
Hi everyone :)
I am at last enjoying new 2.4 feature on BSD :D many thanks to all those who made that possible.
I am using Cmake to find few dependencies for some personal projects.
I setup correctly the CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH to get all my SDL_* dependencies found and working fine.
But I also in my script do a simple : FIND_PACKAGE(OpenGL)
And when doing a ccmake, I get the following error :
CMake Error: OPENGL_DIR is not set. It must be set to the directory
containing OPENGLConfig.cmake in order to use OPENGL.
And I cant find any file named OPENGLConfig.cmake...
I wasnt able so far to find out where that might come from either...
Any body having the same problem ?
Any idea on what's wrong and how to fix it ?
I am using cmake 2.4.2 from pkgsrc on NetBSD. I can remember I had a similar issue with 2.0.3...
Thanks for the help!
--
Asmodehn
More information about the CMake
mailing list