~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/poppler/cmake/modules/FindGTK.cmake

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

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