Add freeglut as library name (#10031)

Thanks to Thomas Sondergaard for the patch in the bug report.
This commit is contained in:
David Cole 2011-01-17 14:19:18 -05:00
parent 6b084f1e04
commit efd1d9c799
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
IF (WIN32)
FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h
PATHS ${GLUT_ROOT_PATH}/include )
FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut glut32
FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut glut32 freeglut
PATHS
${OPENGL_LIBRARY_DIR}
${GLUT_ROOT_PATH}/Release