diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-08-19 15:59:58 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-08-19 15:59:58 -0400 |
commit | 2f20b9d33b7f2c303a84e400abe13a8ff6cd811a (patch) | |
tree | b04b1c1706bf922ac85c21e0befed52ac7408655 /Modules/FindOpenGL.cmake | |
parent | 1629963e7c593e4a746eca4b8b4ab6ba629a44bd (diff) | |
download | cmake-2f20b9d33b7f2c303a84e400abe13a8ff6cd811a.tar.gz |
BUG: fix for bug 7104 look for GL in X11R6 dirs
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r-- | Modules/FindOpenGL.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake index edea06af5d..1c2648ab08 100644 --- a/Modules/FindOpenGL.cmake +++ b/Modules/FindOpenGL.cmake @@ -57,20 +57,20 @@ ELSE (WIN32) FIND_PATH(OPENGL_INCLUDE_DIR GL/gl.h /usr/share/doc/NVIDIA_GLX-1.0/include /usr/openwin/share/include - /opt/graphics/OpenGL/include + /opt/graphics/OpenGL/include /usr/X11R6/include ) FIND_PATH(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h /usr/share/doc/NVIDIA_GLX-1.0/include /usr/openwin/share/include - /opt/graphics/OpenGL/include + /opt/graphics/OpenGL/include /usr/X11R6/include ) FIND_LIBRARY(OPENGL_gl_LIBRARY NAMES GL MesaGL PATHS /opt/graphics/OpenGL/lib /usr/openwin/lib - /usr/shlib + /usr/shlib /usr/X11R6/lib ) # On Unix OpenGL most certainly always requires X11. @@ -94,7 +94,7 @@ ELSE (WIN32) PATHS ${OPENGL_gl_LIBRARY} /opt/graphics/OpenGL/lib /usr/openwin/lib - /usr/shlib + /usr/shlib /usr/X11R6/lib ) ENDIF(APPLE) |