summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-08-19 19:59:58 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-08-19 19:59:58 (GMT)
commit2f20b9d33b7f2c303a84e400abe13a8ff6cd811a (patch)
treeb04b1c1706bf922ac85c21e0befed52ac7408655 /Modules/FindOpenGL.cmake
parent1629963e7c593e4a746eca4b8b4ab6ba629a44bd (diff)
downloadCMake-2f20b9d33b7f2c303a84e400abe13a8ff6cd811a.zip
CMake-2f20b9d33b7f2c303a84e400abe13a8ff6cd811a.tar.gz
CMake-2f20b9d33b7f2c303a84e400abe13a8ff6cd811a.tar.bz2
BUG: fix for bug 7104 look for GL in X11R6 dirs
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index edea06a..1c2648a 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)