FindKActivities.cmake missing from kdelibs KDE/4.7 ?

Alex Merry kde at randomguy3.me.uk
Mon Oct 17 18:35:21 BST 2011


On 17/10/11 18:10, Friedrich W. H. Kossebau wrote:
> Hi,
>
> kde-workspace trunk is supposed to be compiled against kdelibs KDE/4.7, right?
>
> For me it seems that FindKActivities.cmake is missing then in kdelibs KDE/4.7
> or kde-workspace trunk. Because kde-workspace/CMakeLists.txt has the line
> find_package(KActivities REQUIRED)
>
> But there is nowhere a FindKActivities.cmake for me:

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, I believe, is how cmake is meant to work.  A package can provide 
its own Find*.cmake file, and find_package will fail if either the 
Find*.cmake file was not found or running the cmake script in said file 
reports that the package could not be found.

CMake's output doesn't always make it clear, however, that this is an 
expected state of affairs.

Alex





More information about the kde-core-devel mailing list