Explorar o código

Add freeglut as library name (#10031)

Thanks to Thomas Sondergaard for the patch in the bug report.
David Cole %!s(int64=15) %!d(string=hai) anos
pai
achega
efd1d9c799
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Modules/FindGLUT.cmake

+ 1 - 1
Modules/FindGLUT.cmake

@@ -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