diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-04-22 21:08:20 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-04-22 21:08:20 (GMT) |
commit | 9dbd619b285077551ffd8158792c833c2231d90e (patch) | |
tree | 215f47257ff970435d0455bec58c10281cf51719 | |
parent | 7b576866b78ae1c6ba5dfc180d4b4f4b64f48872 (diff) | |
download | CMake-9dbd619b285077551ffd8158792c833c2231d90e.zip CMake-9dbd619b285077551ffd8158792c833c2231d90e.tar.gz CMake-9dbd619b285077551ffd8158792c833c2231d90e.tar.bz2 |
BUG: fix for bug 607
-rw-r--r-- | Modules/FindGTK.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/FindGTK.cmake b/Modules/FindGTK.cmake index 1eb1370..8259961 100644 --- a/Modules/FindGTK.cmake +++ b/Modules/FindGTK.cmake @@ -107,6 +107,15 @@ IF(UNIX) /opt/gnome/lib ) + FIND_LIBRARY( GTK_Xi_LIBRARY + NAMES Xi + PATHS /usr/lib + /usr/local/lib + /usr/openwin/lib + /usr/X11R6/lib + /opt/gnome/lib + ) + FIND_LIBRARY( GTK_gthread_LIBRARY NAMES gthread gthread12 PATHS /usr/lib @@ -139,6 +148,9 @@ IF(UNIX) IF(GTK_gthread_LIBRARY) SET(GTK_LIBRARIES ${GTK_LIBRARIES} ${GTK_gthread_LIBRARY}) ENDIF(GTK_gthread_LIBRARY) + IF(GTK_Xi_LIBRARY) + SET(GTK_LIBRARIES ${GTK_LIBRARIES} ${GTK_Xi_LIBRARY}) + ENDIF(GTK_Xi_LIBRARY) IF(GTK_gtkgl_INCLUDE_PATH) IF(GTK_gtkgl_LIBRARY) @@ -166,6 +178,7 @@ IF(UNIX) GTK_glibconfig_INCLUDE_PATH GTK_gmodule_LIBRARY GTK_gthread_LIBRARY + GTK_Xi_LIBRARY GTK_gtk_INCLUDE_PATH GTK_gtk_LIBRARY GTK_gtkgl_INCLUDE_PATH |