summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindOpenGL.cmake5
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 9132cf0..7bf2bf7 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -19,7 +19,7 @@ ELSE (WIN32)
)
- FIND_LIBRARY(OPENGL_LIB_PATH GL
+ FIND_LIBRARY(OPENGL_LIBRARY GL
/usr/lib
/usr/local/lib
/opt/graphics/OpenGL/lib
@@ -27,7 +27,4 @@ ELSE (WIN32)
/usr/X11R6/lib
)
- # right now we only look for -lgl maybe in future also mesa
- SET (OPENGL_LIBRARY GL CACHE)
-
ENDIF (WIN32) \ No newline at end of file