/usr/lib/cmake/KPeople/KPeopleConfig.cmake is in libkpeople-dev 0.2.1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # Find libkpeople
# Once done this will define
#
# KPEOPLE_FOUND - system has KPeople Library
# KPEOPLE_INCLUDES - the KPeople include directory
# KPEOPLE_LIBS - link these to use KPeople
# KPEOPLE_VERSION_MAJOR - the version of the KPeople Library
# KPEOPLE_VERSION_MINOR - the version of the KPeople Library
# KPEOPLE_VERSION_PATCH - the version of the KPeople Library
# KPEOPLE_VERSION - the version of the KPeople Library
# Copyright (c) 2012, Aleix Pol Gonzalez <aleixpol@blue-systems.com>
# Copyright (c) 2013, David Edmundson <davidedmundson@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
find_library(KPEOPLE_LIBRARY NAMES kpeople HINTS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR})
find_library(KPEOPLEWIDGETS_LIBRARY NAMES kpeoplewidgets HINTS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR})
find_path(KPEOPLE_INCLUDE_DIR NAMES kpeople_export.h HINTS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} PATH_SUFFIXES kpeople)
get_filename_component(KPEOPLE_INCLUDE_DIR ${KPEOPLE_INCLUDE_DIR} PATH)
if(KPEOPLE_INCLUDE_DIR AND KPEOPLE_LIBRARY)
set(KPEOPLE_FOUND TRUE)
set(KPEOPLE_LIBS ${kpeople_LIB_DEPENDS} ${KPEOPLE_LIBRARY})
set(KPEOPLE_INCLUDES ${KPEOPLE_INCLUDE_DIR})
set(KPEOPLE_VERSION_MAJOR "0")
set(KPEOPLE_VERSION_MINOR "2")
set(KPEOPLE_VERSION_PATCH "1")
set(KPEOPLE_VERSION "0.2.1")
endif(KPEOPLE_INCLUDE_DIR AND KPEOPLE_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(KPeople DEFAULT_MSG KPEOPLE_INCLUDE_DIR KPEOPLE_LIBRARY)
mark_as_advanced(KPEOPLE_INCLUDE_DIR KPEOPLE_LIBRARY)
|