Янчарук Александр wrote:
Adding the freeglut library to GLUT module would be solution for
systems where installed glut lib.
What if some one decide install latest FreeGLUT lib from source? In
your case for succesful use of FreeGLUT i need install additional
packages (glutg3 glutg3-dev in Debian). So, for me special module for
FreeGLUT is more clear solution. May be im wrong, please fix me...

From what I see you only replaced glut.h with freeglut.h and added freeglut as library name. If you would just add freeglut as library name unconditionally (in the current FindGLUT it already searched on Win32) and add GL/freeglut.h as header name just after GL/glut.h everything should be fine.

Eike
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to