FindPlasma.cmake obsolete ?

Allen Winter winter at kde.org
Sun Jan 4 19:30:24 CET 2009


On Sunday 04 January 2009 12:49:31 pm Alexander Neundorf wrote:
> On Sunday 04 January 2009, Allen Winter wrote:
> > On Sunday 04 January 2009 10:43:48 am Alexander Neundorf wrote:
> > > Hi,
> > >
> > > in kdelibs/cmake/modules/ there is a FindPlasma.cmake.
> > >
> > > But plasma has moved to kdelibs and is now found automatically by
> > > find_package(KDE4)
> > > which sets the appropriate variables like KDE4_PLASMA_LIBS etc.
> > >
> > > Before KDE 4.2 there were no compatibility guarantees for plasma, right
> > > ? So, where is this file used ?
> > > I think it should be removed now that plasma is part of kdelibs. And we
> > > can't break anything by removing it, since plasma itself will have
> > > broken everything which depended on it before 4.2, right ?
> >
> > I was wondering about the PLASMA_OPENGL_FOUND variable
> > which is computed in FindPlasma.cmake.
> >
> > That variable is used, at least in kdeplasma-addons.
>
> Correct me if I'm wrong:
> It seems that variable is used there, but find_package(Plasma) is not
> there, so the FindPlasma.cmake is not actually executed and
> PLASMA_OPENGL_FOUND is never set.
>
You are correct.
I'm wondering if  PLASMA_OPENGL_FOUND should be computed and set
some place in our buildsystem so the bluemarble plasmoid can be built.

And hoping that someone from the Plasma team is reading this and knows the answer.




More information about the Kde-buildsystem mailing list