diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-16 20:23:55 -0500 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-16 20:23:55 -0500 |
commit | b23b592ca6083e7cd1436ebf6db57a8e95d345af (patch) | |
tree | c59d8cd746692c3ac7bade8666b62c9d978a489a /Modules/FindGTK.cmake | |
parent | 94c396184eb432908dc2fa4278284a8cec0c4555 (diff) | |
download | cmake-b23b592ca6083e7cd1436ebf6db57a8e95d345af.tar.gz |
Add gthread library
Diffstat (limited to 'Modules/FindGTK.cmake')
-rw-r--r-- | Modules/FindGTK.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Modules/FindGTK.cmake b/Modules/FindGTK.cmake index 9d4fe1a04a..d2cfe407a0 100644 --- a/Modules/FindGTK.cmake +++ b/Modules/FindGTK.cmake @@ -106,6 +106,15 @@ IF(UNIX) /opt/gnome/lib ) + FIND_LIBRARY( GTK_gthread_LIBRARY + NAMES gthread gthread12 + PATHS /usr/lib + /usr/local/lib + /usr/openwin/lib + /usr/X11R6/lib + /opt/gnome/lib + ) + IF(GTK_gtk_INCLUDE_PATH) IF(GTK_glibconfig_INCLUDE_PATH) IF(GTK_glib_INCLUDE_PATH) @@ -123,6 +132,9 @@ IF(UNIX) ${GTK_gdk_LIBRARY} ${GTK_gmodule_LIBRARY} ${GTK_glib_LIBRARY} ) + IF(GTK_gthread_LIBRARY) + SET(GTK_LIBRARIES ${GTK_LIBRARIES} ${GTK_gthread_LIBRARY}) + ENDIF(GTK_gthread_LIBRARY) IF(GTK_gtkgl_INCLUDE_PATH) IF(GTK_gtkgl_LIBRARY) |