Discussion:
[Opensg-users] FindGLUT_OpenSG.cmake doesn't find freeglut
Johannes Zarl
2015-01-07 15:08:01 UTC
Permalink
Hi,

I'm having trouble in getting OpenSG to find freeglut on a Windows7/VS2013
build.

Looking into the FindGLUT_OpenSG.cmake file reveals that only the library names
"glut" and "glut32" are searched for, while freeglut is using the name
"freeglut".

Is it possible to change the FindGLUT_OpenSG.cmake as shown in the attachment?
I changed the file so that library names can be extended, similarly to how it
is done in FindGLEW_OpenSG.cmake.

Cheers,
Johannes
Carsten Neumann
2015-01-16 14:42:32 UTC
Permalink
Hello Johannes,
Post by Johannes Zarl
Looking into the FindGLUT_OpenSG.cmake file reveals that only the library names
"glut" and "glut32" are searched for, while freeglut is using the name
"freeglut".
Is it possible to change the FindGLUT_OpenSG.cmake as shown in the attachment?
I changed the file so that library names can be extended, similarly to how it
is done in FindGLEW_OpenSG.cmake.
yes, makes sense to me. Thank you for the patch, it's applied.

Cheers,
Carsten

Loading...