kde-extraapps/kuassel/cmake/FindIndicateQt.cmake
Ivailo Monev 3a9271bd44 import modified version of quassel as kuassel
the version imported is based on upstream 9c5fd60 with its bundled
copies of miniz (alternative to zlib), oxygen icons and other
non-relevant cruft removed. KDE integreation hardcoded having in
mind it will improve (icons handling, browser integration, etc.)
rebranding is not done yet and credits to the original authors and
contributors are and will be left mostly intact with the exception
of adding new.
2014-12-29 00:56:55 +00:00

26 lines
1.1 KiB
CMake

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