diff options
author | Brad King <brad.king@kitware.com> | 2005-04-07 17:46:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-07 17:46:02 (GMT) |
commit | 76f905002617dd534df04f1c1c0842d59f50f531 (patch) | |
tree | ddfb26a19fe535d2e17e22bd8fe8ca0c084e6b92 /Modules/FindGTK.cmake | |
parent | fadff337910f1c6faf5a2e36afe54b6ea1aee0e8 (diff) | |
download | CMake-76f905002617dd534df04f1c1c0842d59f50f531.zip CMake-76f905002617dd534df04f1c1c0842d59f50f531.tar.gz CMake-76f905002617dd534df04f1c1c0842d59f50f531.tar.bz2 |
ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.
Diffstat (limited to 'Modules/FindGTK.cmake')
-rw-r--r-- | Modules/FindGTK.cmake | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/Modules/FindGTK.cmake b/Modules/FindGTK.cmake index 81158a0..e185a16 100644 --- a/Modules/FindGTK.cmake +++ b/Modules/FindGTK.cmake @@ -33,6 +33,7 @@ IF(UNIX) /usr/local/include /usr/openwin/share/include /usr/local/include/glib12 + /usr/lib64/glib/include /usr/lib/glib/include /usr/local/lib/glib/include /opt/gnome/include @@ -45,6 +46,7 @@ IF(UNIX) /usr/openwin/share/include /usr/include/gtk-1.2 /usr/local/include/glib12 + /usr/lib64/glib/include /usr/lib/glib/include /usr/include/glib-1.2 /usr/local/include/glib-1.2 @@ -60,9 +62,11 @@ IF(UNIX) ) FIND_LIBRARY( GTK_gtkgl_LIBRARY gtkgl + /usr/lib64 /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /opt/gnome/lib ) @@ -73,54 +77,66 @@ IF(UNIX) FIND_LIBRARY( GTK_gtk_LIBRARY NAMES gtk gtk12 - PATHS /usr/lib + PATHS /usr/lib64 + /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /opt/gnome/lib ) FIND_LIBRARY( GTK_gdk_LIBRARY NAMES gdk gdk12 - PATHS /usr/lib + PATHS /usr/lib64 + /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /opt/gnome/lib ) FIND_LIBRARY( GTK_gmodule_LIBRARY NAMES gmodule gmodule12 - PATHS /usr/lib + PATHS /usr/lib64 + /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /opt/gnome/lib ) FIND_LIBRARY( GTK_glib_LIBRARY NAMES glib glib12 - PATHS /usr/lib + PATHS /usr/lib64 + /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /opt/gnome/lib ) FIND_LIBRARY( GTK_Xi_LIBRARY NAMES Xi - PATHS /usr/lib + PATHS /usr/lib64 + /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /opt/gnome/lib ) FIND_LIBRARY( GTK_gthread_LIBRARY NAMES gthread gthread12 - PATHS /usr/lib + PATHS /usr/lib64 + /usr/lib /usr/local/lib /usr/openwin/lib + /usr/X11R6/lib64 /usr/X11R6/lib /opt/gnome/lib ) |