Apparent dependency problem with kdesupport/eigen and kdelibs

Alexander Neundorf neundorf at kde.org
Sun Nov 19 20:27:52 CET 2006


On Sunday 19 November 2006 19:48, David Faure wrote:
> 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.

Yes, exactly, everything to the point.

Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list