Selaa lähdekoodia

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

Sebastien Barre 23 vuotta sitten
vanhempi
sitoutus
35f6b648f2
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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