Explorar el Código

FIX: comply with the way OpenGL libs are set in FindOpenGL and FindGLU

Sebastien Barre hace 23 años
padre
commit
35f6b648f2
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      Modules/FindGLUT.cmake

+ 1 - 2
Modules/FindGLUT.cmake

@@ -7,8 +7,7 @@
 #
 
 IF (WIN32)
-  FIND_LIBRARY(GLUT_LIBRARY glut32)
-
+  SET (GLUT_LIBRARY glut32 CACHE STRING "GLUT library for win32")
 ELSE (WIN32)
   FIND_PATH(GLUT_INCLUDE_PATH GL/glut.h 
   /usr/include