From 7bf828d132104896a58374b318f36b60dc59444b Mon Sep 17 00:00:00 2001 From: Geoffrey Cross Date: Fri, 4 May 2001 11:35:47 -0400 Subject: [PATCH] INCLUDE these to find the relevant libraries --- Modules/FindGTK.cmake | 28 ++++++++++++++++++++++++++++ Modules/FindJPEG.cmake | 15 +++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 Modules/FindGTK.cmake create mode 100644 Modules/FindJPEG.cmake diff --git a/Modules/FindGTK.cmake b/Modules/FindGTK.cmake new file mode 100644 index 0000000000..06144af190 --- /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) + diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake new file mode 100644 index 0000000000..907c503a21 --- /dev/null +++ b/Modules/FindJPEG.cmake @@ -0,0 +1,15 @@ +# +# Find the native JPEG includes and library +# + + +FIND_PATH(NATIVE_JPEG_INCLUDE_PATH jpeglib.h +/usr/local/include +/usr/include +) + +FIND_LIBRARY(NATIVE_JPEG_LIB_PATH jpeg +/usr/lib +/usr/local/lib +) +