summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-24 16:57:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-24 16:57:33 (GMT)
commit5731bc9d54036b28d4fce428cc218bb207c63411 (patch)
tree39caed87c95dc064689d064469ca5d9b01a7db00 /Modules/FindOpenGL.cmake
parentad92f34fea4c565a3f6698c5bc620797be9c64fe (diff)
downloadCMake-5731bc9d54036b28d4fce428cc218bb207c63411.zip
CMake-5731bc9d54036b28d4fce428cc218bb207c63411.tar.gz
CMake-5731bc9d54036b28d4fce428cc218bb207c63411.tar.bz2
ENH: change the syntax of the SET command, fix the combo box for larger strings
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 7bf2bf7..ce0f14a 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -7,9 +7,8 @@
#
IF (WIN32)
- SET (OPENGL_LIBRARY opengl32 CACHE)
+ SET (OPENGL_LIBRARY opengl32 CACHE STRING "OpenGL library for win32")
ELSE (WIN32)
-
FIND_PATH(OPENGL_INCLUDE_PATH GL/gl.h
/usr/include
/usr/local/include
@@ -18,7 +17,6 @@ ELSE (WIN32)
/usr/X11R6/include
)
-
FIND_LIBRARY(OPENGL_LIBRARY GL
/usr/lib
/usr/local/lib