summaryrefslogtreecommitdiffstats
path: root/Modules/FindGLUT.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-06-13 18:45:46 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-06-13 18:45:46 (GMT)
commit35f6b648f20c85f488c06629456893c64ca873bf (patch)
tree377e7011c206c8835160366f5692bb4ef99d6690 /Modules/FindGLUT.cmake
parent5380afe02b0fa1f7d212e8639981e0df524315ac (diff)
downloadCMake-35f6b648f20c85f488c06629456893c64ca873bf.zip
CMake-35f6b648f20c85f488c06629456893c64ca873bf.tar.gz
CMake-35f6b648f20c85f488c06629456893c64ca873bf.tar.bz2
FIX: comply with the way OpenGL libs are set in FindOpenGL and FindGLU
Diffstat (limited to 'Modules/FindGLUT.cmake')
-rw-r--r--Modules/FindGLUT.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake
index c8c0329..101f19f 100644
--- a/Modules/FindGLUT.cmake
+++ b/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