Explorar o código

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

Sebastien Barre %!s(int64=23) %!d(string=hai) anos
pai
achega
35f6b648f2
Modificáronse 1 ficheiros con 1 adicións e 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