Asmodehn Shade wrote:
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...

Is there a file "FindOpenGL.cmake" anywhere in your installation? It should be in PREFIX/share/CMake/Modules or something like that.

-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to