Add freeglut as library name (#10031)
Thanks to Thomas Sondergaard for the patch in the bug report.
This commit is contained in:
parent
6b084f1e04
commit
efd1d9c799
|
@ -23,7 +23,7 @@
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h
|
FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h
|
||||||
PATHS ${GLUT_ROOT_PATH}/include )
|
PATHS ${GLUT_ROOT_PATH}/include )
|
||||||
FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut glut32
|
FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut glut32 freeglut
|
||||||
PATHS
|
PATHS
|
||||||
${OPENGL_LIBRARY_DIR}
|
${OPENGL_LIBRARY_DIR}
|
||||||
${GLUT_ROOT_PATH}/Release
|
${GLUT_ROOT_PATH}/Release
|
||||||
|
|
Loading…
Reference in New Issue