summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTK.cmake
diff options
context:
space:
mode:
authorGeoffrey Cross <geoff@cross.lu>2001-05-04 15:35:47 (GMT)
committerGeoffrey Cross <geoff@cross.lu>2001-05-04 15:35:47 (GMT)
commit7bf828d132104896a58374b318f36b60dc59444b (patch)
tree20849442e8d00a77afa2438906ac0c3e79648145 /Modules/FindGTK.cmake
parent8a21493f56ba9dde53e3954c5c89e3e678ede135 (diff)
downloadCMake-7bf828d132104896a58374b318f36b60dc59444b.zip
CMake-7bf828d132104896a58374b318f36b60dc59444b.tar.gz
CMake-7bf828d132104896a58374b318f36b60dc59444b.tar.bz2
INCLUDE these to find the relevant libraries
Diffstat (limited to 'Modules/FindGTK.cmake')
-rw-r--r--Modules/FindGTK.cmake28
1 files changed, 28 insertions, 0 deletions
diff --git a/Modules/FindGTK.cmake b/Modules/FindGTK.cmake
new file mode 100644
index 0000000..06144af
--- /dev/null
+++ b/Modules/FindGTK.cmake
@@ -0,0 +1,28 @@
+#
+# try to find GTK
+#
+
+# don't even bother under WIN32
+IF (UNIX)
+
+ FIND_PATH(GTK_INCLUDE_PATH gtk/gtk.h
+ /usr/include
+ /usr/local/include
+ /usr/openwin/share/include
+ )
+
+ FIND_LIBRARY(GTK_LIB_PATH gtk
+ /usr/lib
+ /usr/local/lib
+ /usr/openwin/lib
+ /usr/X11R6/lib
+ )
+
+ FIND_LIBRARY(GTK_GLIB_INCLUDE_PATH glibconfig.h
+ /usr/include
+ /usr/local/include
+ /usr/openwin/share/include
+ )
+
+ENDIF (UNIX)
+