summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-01-22 13:13:05 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-01-22 18:07:08 +0100
commit2f5f87119d4f9f3f2ccb177da1c0ac9da55611c8 (patch)
treeb2a2a137a93298339d007e85eae6fdb83da3242f /cmake
parenta7cc4ef2a1798b215f49cfd7ee25b53339d0a883 (diff)
downloadlogdiag-2f5f87119d4f9f3f2ccb177da1c0ac9da55611c8.tar.gz
logdiag-2f5f87119d4f9f3f2ccb177da1c0ac9da55611c8.tar.xz
logdiag-2f5f87119d4f9f3f2ccb177da1c0ac9da55611c8.zip
Integrate support for MinGW Win32 builds.
* Add Win32Depends.cmake, which retrieves all dependencies from the Internet. Other ways of building the application on Win32 are not supported. * Install the application correctly on Win32. * Make FindGTK2.cmake search for GIO. * Make the project a C-only project, so g++ is not needed. * Remove obsolete checks for strtok(). * Set WIN32_EXECUTABLE on the application.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindGTK2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/FindGTK2.cmake b/cmake/FindGTK2.cmake
index e437e1c..3594314 100644
--- a/cmake/FindGTK2.cmake
+++ b/cmake/FindGTK2.cmake
@@ -420,6 +420,7 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
_GTK2_FIND_INCLUDE_DIR(GTK2_GLIB_INCLUDE_DIR glib.h)
_GTK2_FIND_INCLUDE_DIR(GTK2_GLIBCONFIG_INCLUDE_DIR glibconfig.h)
_GTK2_FIND_LIBRARY (GTK2_GLIB_LIBRARY glib false true)
+ _GTK2_FIND_LIBRARY (GTK2_GIO_LIBRARY gio false true)
_GTK2_FIND_INCLUDE_DIR(GTK2_GOBJECT_INCLUDE_DIR gobject/gobject.h)
_GTK2_FIND_LIBRARY (GTK2_GOBJECT_LIBRARY gobject false true)
@@ -529,6 +530,7 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
GTK2_GLIB_INCLUDE_DIR
GTK2_GLIBCONFIG_INCLUDE_DIR
GTK2_GLIB_LIBRARY
+ GTK2_GIO_LIBRARY
GTK2_GDK_INCLUDE_DIR
GTK2_GDKCONFIG_INCLUDE_DIR