Review Request 113693: Fix KNotifyConfig standalone build

Alex Merry kde at randomguy3.me.uk
Thu Nov 7 17:55:25 UTC 2013



> On Nov. 7, 2013, 2:16 p.m., Alex Merry wrote:
> > tier3/knotifyconfig/CMakeLists.txt, lines 20-35
> > <http://git.reviewboard.kde.org/r/113693/diff/2/?file=211413#file211413line20>
> >
> >     Did I miss something?  Why is CMake 3 relevant to these?  KIO wasn't exporting its dependencies to KIOConfig.cmake properly until recently, but it should be doing so now.
> 
> Aleix Pol Gonzalez wrote:
>     That error you get it just by trying to find KIO. It's because the private dependencies are looked up as well and the reason we have to list the private dependencies.
>     
>     CMake Error at /home/kde-devel/kde5/lib64/cmake/KIO/KIOConfig.cmake:31 (find_package):
>       Found package configuration file:
>     
>         /home/kde-devel/kde5/lib64/cmake/KJobWidgets/KJobWidgetsConfig.cmake
>     
>       but it set KJobWidgets_FOUND to FALSE so package "KJobWidgets" is
>       considered to be NOT FOUND.  Reason given by package:
>     
>       The following imported targets are referenced, but are missing:
>       KF5::KWidgetsAddons
>

Fair enough.  A more descriptive comment would be good, then, like
# Due to a CMake bug, we need to explicitly find private dependencies of our dependencies
# Remove when we depend on CMake 3.0.0 (which should fix this)


- Alex


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113693/#review43226
-----------------------------------------------------------


On Nov. 7, 2013, 1:07 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113693/
> -----------------------------------------------------------
> 
> (Updated Nov. 7, 2013, 1:07 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> Add the dependencies of dependencies.
> Small fixes.
> 
> 
> Diffs
> -----
> 
>   superbuild/CMakeLists.txt 90688f6 
>   tier3/knotifyconfig/CMakeLists.txt 8be2ceb 
>   tier3/knotifyconfig/tests/CMakeLists.txt 385ff70 
> 
> Diff: http://git.reviewboard.kde.org/r/113693/diff/
> 
> 
> Testing
> -------
> 
> Builds, installs, the test seems to work.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131107/af568c6f/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list