From 955463c5a3a310966d99b73476876247578717e8 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 6 Jun 2002 08:49:35 -0400 Subject: fix for glut on win32 --- Modules/FindGLUT.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v0.12