summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-04-05 20:24:03 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-04-05 20:24:03 (GMT)
commit96e2956ec80dc302edd2a94b4114ab0fec273cbf (patch)
treee40ca51513d94b9a2d50e301ddec0c184dd37056
parentaf60114ffb320b1a89edb777124b200f1038ac3f (diff)
downloadCMake-96e2956ec80dc302edd2a94b4114ab0fec273cbf.zip
CMake-96e2956ec80dc302edd2a94b4114ab0fec273cbf.tar.gz
CMake-96e2956ec80dc302edd2a94b4114ab0fec273cbf.tar.bz2
Fix for bug Bug #1287 - cmake use MesaGL by default instead of libGL - Return to bug list
-rw-r--r--Modules/FindOpenGL.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 5a278d8..c20aaaf 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -80,7 +80,7 @@ ELSE (WIN32)
)
FIND_LIBRARY(OPENGL_gl_LIBRARY
- NAMES MesaGL GL
+ NAMES GL MesaGL
PATHS /usr/lib
/usr/local/lib
/opt/graphics/OpenGL/lib
@@ -104,7 +104,7 @@ ELSE (WIN32)
ENDIF (OPENGL_gl_LIBRARY)
FIND_LIBRARY(OPENGL_glu_LIBRARY
- NAMES MesaGLU GLU
+ NAMES GLU MesaGLU
PATHS ${OPENGL_gl_LIBRARY}
/usr/lib
/usr/local/lib