summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-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