1 # CMake wrapper for finding indicate-qt
2 # This is not very flexible (e.g. no version check), but allows using
3 # a normal find_package call and thus support for feature_summary
5 # (C) 2014 by the Quassel Project <devel@quassel-irc.org>
7 # Redistribution and use is allowed according to the terms of the BSD license.
8 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
10 # Once found, sets the standard set of variables:
11 # INDICATEQT_FOUND - IndicateQt available in the system
12 # INDICATEQT_LIBRARIES - Libraries to link with
13 # INDICATEQT_INCLUDE_DIRS - Include directories containing the headers
15 ##############################################################################
17 include(FindPackageHandleStandardArgs)
20 # requires PkgConfig for now; patches for finding it directly welcome!
21 find_package(PkgConfig QUIET)
23 pkg_check_modules(INDICATEQT QUIET indicate-qt>=0.2.1)
27 find_package_handle_standard_args(IndicateQt DEFAULT_MSG INDICATEQT_LIBRARIES INDICATEQT_INCLUDE_DIRS)
28 mark_as_advanced(INDICATEQT_LIBRARIES INDICATEQT_INCLUDE_DIRS)