Bug 322145

Summary: Cmake warnings finding libkpeople when libkpeople is not installed
Product: [Unmaintained] telepathy Reporter: David Edmundson <kde>
Component: generalAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: analoguecolour
Priority: NOR    
Version: git-latest   
Target Milestone: 0.7-beta   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Edmundson 2013-07-09 10:03:37 UTC
From buildbot
(http://build.kde.org/view/telepathy/job/ktp-common-internals_master/130/console)

19:52:27 CMake Warning at CMakeLists.txt:19 (find_package):
19:52:27   By not providing "FindKPeople.cmake" in CMAKE_MODULE_PATH this project has
19:52:27   asked CMake to find a package configuration file provided by "KPeople", but
19:52:27   CMake did not find one.
19:52:27 
19:52:27   Could not find a package configuration file provided by "KPeople" with any
19:52:27   of the following names:
19:52:27 
19:52:27     KPeopleConfig.cmake
19:52:27     kpeople-config.cmake
19:52:27 
19:52:27   Add the installation prefix of "KPeople" to CMAKE_PREFIX_PATH or set
19:52:27   "KPeople_DIR" to a directory containing one of the above files.  If
19:52:27   "KPeople" provides a separate development package or SDK, be sure it has
19:52:27   been installed.

Might be something the "QUIET" keyword fixes?
Comment 1 Daniel Cohen 2013-07-09 15:25:17 UTC
Can confirm that changing find_package (KPeople) to find_package (KPeople QUIET) fixes this and gives a nice optional warning message instead. Note that the QUIET variable is case sensitive.
Comment 2 David Edmundson 2013-07-09 16:14:40 UTC
Git commit effdc724fc912c53acdc0d39f2cf6ee99678916c by David Edmundson, on behalf of Daniel Cohen.
Committed on 09/07/2013 at 16:12.
Pushed by davidedmundson into branch 'master'.

Supress warnings when kpeople is not installed
Reviewed-by: David Edmundson

M  +1    -1    CMakeLists.txt

http://commits.kde.org/telepathy-common-internals/effdc724fc912c53acdc0d39f2cf6ee99678916c