summaryrefslogtreecommitdiff
path: root/Modules/FindGTK.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-16 20:23:55 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-16 20:23:55 -0500
commitb23b592ca6083e7cd1436ebf6db57a8e95d345af (patch)
treec59d8cd746692c3ac7bade8666b62c9d978a489a /Modules/FindGTK.cmake
parent94c396184eb432908dc2fa4278284a8cec0c4555 (diff)
downloadcmake-b23b592ca6083e7cd1436ebf6db57a8e95d345af.tar.gz
Add gthread library
Diffstat (limited to 'Modules/FindGTK.cmake')
-rw-r--r--Modules/FindGTK.cmake12
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)