~ubuntu-branches/ubuntu/trusty/cmake3/trusty-updates

« back to all changes in this revision

Viewing changes to Tests/RunCMake/FindPkgConfig/FindPkgConfig_GET_VARIABLE.cmake

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2017-02-23 17:55:24 UTC
  • Revision ID: package-import@ubuntu.com-20170223175524-5nh7s4pu97fsa0t7
Tags: upstream-3.5.1
ImportĀ upstreamĀ versionĀ 3.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
find_package(PkgConfig REQUIRED)
 
2
pkg_check_modules(GOBJECT_INTROSPECTION QUIET gobject-introspection-1.0)
 
3
 
 
4
if (GOBJECT_INTROSPECTION_FOUND)
 
5
  pkg_get_variable(g_ir_scanner gobject-introspection-1.0 g_ir_scanner)
 
6
  message(STATUS "g_ir_scanner: ${g_ir_scanner}")
 
7
else ()
 
8
  message(STATUS "g_ir_scanner: skipping test; gobject-introspection-1.0 not found /g-ir-scanner")
 
9
endif ()