Bug 322145 - Cmake warnings finding libkpeople when libkpeople is not installed
Summary: Cmake warnings finding libkpeople when libkpeople is not installed
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: general (show other bugs)
Version: git-latest
Platform: Other Linux
: NOR normal
Target Milestone: 0.7-beta
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-09 10:03 UTC by David Edmundson
Modified: 2013-07-09 16:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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