diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-17 01:23:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-17 01:23:55 (GMT) |
commit | b23b592ca6083e7cd1436ebf6db57a8e95d345af (patch) | |
tree | c59d8cd746692c3ac7bade8666b62c9d978a489a /Modules | |
parent | 94c396184eb432908dc2fa4278284a8cec0c4555 (diff) | |
download | CMake-b23b592ca6083e7cd1436ebf6db57a8e95d345af.zip CMake-b23b592ca6083e7cd1436ebf6db57a8e95d345af.tar.gz CMake-b23b592ca6083e7cd1436ebf6db57a8e95d345af.tar.bz2 |
Add gthread library
Diffstat (limited to 'Modules')
-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 9d4fe1a..d2cfe40 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) |