summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2010-03-17 16:39:38 +0100
committerPino Toscano <pino@kde.org>2010-03-17 16:39:38 +0100
commit5ab791cb2a029edcde84b00a47165adfe4d98a98 (patch)
treef109ba0a0553debf1fca2e93262ac938ebb98bf9 /cmake
parentfcbc76d82e3059c8288fbdc8da117ac9b38a70f2 (diff)
[CMake] small cleanups in FindGTK.cmake
- update the header will all the stuff found and the variables set - add my copyright for this year - remove no more useful UsePkgConfig inclusion
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindGTK.cmake17
1 files changed, 12 insertions, 5 deletions
diff --git a/cmake/modules/FindGTK.cmake b/cmake/modules/FindGTK.cmake
index fba7f815..c2266f76 100644
--- a/cmake/modules/FindGTK.cmake
+++ b/cmake/modules/FindGTK.cmake
@@ -1,11 +1,19 @@
-# - try to find GTK (and glib)
+# - try to find GLIB, GDK and GTK libraries
# Once done this will define
#
# GLIB_FOUND - system has GLib
-# GLIB_CFLAGS - the GLib CFlags
-# GLIB_LIBRARIES - Link these to use GLib
+# GLIB2_CFLAGS - the GLib CFlags
+# GLIB2_LIBRARIES - Link these to use GLib
#
-# Copyright 2008 Pino Toscano, <pino@kde.org>
+# GDK_FOUND - system has GDK
+# GDK2_CFLAGS - the GDK CFlags
+# GDK2_LIBRARIES - Link these to use GDK
+#
+# GTK_FOUND - system has GTK
+# GTK2_CFLAGS - the GTK CFlags
+# GTK2_LIBRARIES - Link these to use GTK
+#
+# Copyright 2008-2010 Pino Toscano, <pino@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
@@ -13,7 +21,6 @@
include(FindPackageHandleStandardArgs)
if (NOT WIN32)
- include(UsePkgConfig)
include(FindPkgConfig)
pkg_check_modules(GLIB2 "glib-2.0>=${GLIB_REQUIRED}" "gobject-2.0>=${GLIB_REQUIRED}")