summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindGLUT.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake
index 3082e17..cf2ffbb 100644
--- a/Modules/FindGLUT.cmake
+++ b/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