summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-06-06 12:49:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-06-06 12:49:35 (GMT)
commit955463c5a3a310966d99b73476876247578717e8 (patch)
tree744f4e57bf2c0bd767679cd2789118d7a9a7e671
parent11cff6ef6aaa51d4536750acdbd62aa13b285a29 (diff)
downloadCMake-955463c5a3a310966d99b73476876247578717e8.zip
CMake-955463c5a3a310966d99b73476876247578717e8.tar.gz
CMake-955463c5a3a310966d99b73476876247578717e8.tar.bz2
fix for glut on win32
-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