diff options
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r-- | Modules/FindOpenGL.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake index c20aaaf..eaf9efb 100644 --- a/Modules/FindOpenGL.cmake +++ b/Modules/FindOpenGL.cmake @@ -30,11 +30,13 @@ IF (WIN32) ) FIND_LIBRARY(OPENGL_gl_LIBRARY opengl32 + /usr/lib64 /usr/lib /usr/lib/w32api ) FIND_LIBRARY(OPENGL_glu_LIBRARY glu32 + /usr/lib64 /usr/lib /usr/lib/w32api ) @@ -81,10 +83,12 @@ ELSE (WIN32) FIND_LIBRARY(OPENGL_gl_LIBRARY NAMES GL MesaGL - PATHS /usr/lib + PATHS /usr/lib64 + /usr/lib /usr/local/lib /opt/graphics/OpenGL/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /usr/shlib ) @@ -106,10 +110,12 @@ ELSE (WIN32) FIND_LIBRARY(OPENGL_glu_LIBRARY NAMES GLU MesaGLU PATHS ${OPENGL_gl_LIBRARY} + /usr/lib64 /usr/lib /usr/local/lib /opt/graphics/OpenGL/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /usr/shlib ) |