diff options
author | Brad King <brad.king@kitware.com> | 2005-04-07 13:46:02 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-07 13:46:02 -0400 |
commit | 76f905002617dd534df04f1c1c0842d59f50f531 (patch) | |
tree | ddfb26a19fe535d2e17e22bd8fe8ca0c084e6b92 /Modules/FindGLUT.cmake | |
parent | fadff337910f1c6faf5a2e36afe54b6ea1aee0e8 (diff) | |
download | cmake-76f905002617dd534df04f1c1c0842d59f50f531.tar.gz |
ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.
Diffstat (limited to 'Modules/FindGLUT.cmake')
-rw-r--r-- | Modules/FindGLUT.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake index 16d5f2750e..3e9e99946b 100644 --- a/Modules/FindGLUT.cmake +++ b/Modules/FindGLUT.cmake @@ -20,9 +20,11 @@ IF (WIN32) FIND_LIBRARY( GLUT_glut_LIBRARY glut32 ${OPENGL_LIBRARY_DIR} + /usr/lib64 /usr/lib /usr/lib/w32api /usr/local/lib + /usr/X11R6/lib64 /usr/X11R6/lib ) @@ -64,23 +66,29 @@ ELSE (WIN32) ) FIND_LIBRARY( GLUT_glut_LIBRARY glut + /usr/lib64 /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib ) FIND_LIBRARY( GLUT_Xi_LIBRARY Xi + /usr/lib64 /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib ) FIND_LIBRARY( GLUT_Xmu_LIBRARY Xmu + /usr/lib64 /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib ) |