On 17/10/11 18:56, Andreas Pakulat wrote:
On 17.10.11 18:35:21, Alex Merry wrote:
FindKActivities is provided by libkactivities (the kactivities
module on git.kde.org).  If you don't have it, there won't be such a
file.

This is wrong as has been discussed numerous times on kde-buildsystem
and the cmake list. A project can provide a XXXConfig.cmake file to
follow the config-mode of find_package, but providing a FindXXX.cmake
module along when installing that package does not make much sense. In
particular this is problematic when a project wants an optional
dependency on such a package since cmake will do a hard exit when no
FindXXX.cmake is found.

Ah, OK. In that case, I'm sure I've seen other modules doing it wrong, although I can't remember where.

This is generally what extra-cmake-modules in kdesupport is intended to provide, right? So the medium-term solution is to include it in there.

Alex

Reply via email to