1
# - try to find GTK libraries
2
# Once done this will define
4
# GTK_FOUND - system has GTK
5
# GTK2_CFLAGS - the GTK CFlags
6
# GTK2_LIBRARIES - Link these to use GTK
8
# Copyright 2008-2010 Pino Toscano, <pino@kde.org>
10
# Redistribution and use is allowed according to the terms of the BSD license.
11
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
13
include(FindPackageHandleStandardArgs)
16
find_package(PkgConfig REQUIRED)
18
pkg_check_modules(GTK2 "gtk+-2.0>=2.14" "gdk-pixbuf-2.0" "gthread-2.0" "gio-2.0")
20
find_package_handle_standard_args(GTK DEFAULT_MSG GTK2_LIBRARIES GTK2_CFLAGS)