Apparent dependency problem with kdesupport/eigen and kdelibs

David Faure faure at kde.org
Sun Nov 19 19:48:09 CET 2006


On Sun Nov 19 2006, Brad Hards wrote:
> I'm trying to bring up kdesupport on a newly installed system (Fedora Core 6).
> 
> kdesupport/eigen/CMakelists.txt says:
> find_package(KDE4 REQUIRED)
> include(KDE4Defaults)
> 
> FindKDE4.cmake requires FindKDE4Internal.cmake, and that won't work, because 
> it only comes from kdelibs.

Yes, why should eigen depend on kdelibs? Surely it doesn't use any kdelibs code, right?
[If it does, then it shouldn't be in kdesupport...]

> Does anyone have a way forward without kdesupport depending on kdelibs?

find_package(Qt4 REQUIRED)?

> I can think of a couple:
> * Move the cmake modules (FindKDE4Internal.cmake + everything it includes + 
> the unique version of FindQt4.cmake) to kdesupport
Doesn't make sense. You can't "find kde4" from a module that shouldn't depend on kde4.

> * Move eigen somewhere else (perhaps kdelibs)
Only makes sense if eigen depends on kdelibs.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list