Browse Source

fix for glut on win32

Bill Hoffman 23 years ago
parent
commit
955463c5a3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Modules/FindGLUT.cmake

+ 2 - 1
Modules/FindGLUT.cmake

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