soprano's cmake file

Sebastian Trüg trueg at kde.org
Wed Jul 29 13:37:36 CEST 2009


I think it should be enough to make fineSoprano add both the old and the new 
path to the CMAKE_MODULE_PATH. It is a bit ugly but should solve all problems.

As a new path I will simply use <prefix>/share/soprano/cmake in 2.3.1.

Cheers,
Sebastian

On Wednesday 29 July 2009 11:48:35 Sebastian Trüg wrote:
> On Monday 27 July 2009 21:36:48 Alexander Neundorf wrote:
> > On Sunday 26 July 2009, Sebastian Trüg wrote:
> > > On Friday 24 July 2009 22:11:27 Alexander Neundorf wrote:
> >
> > ...
> >
> > > > If we would now just move the installed file from
> > > > <prefix>/share/apps/cmake/modules/ to <prefix>/share/soprano/cmake/,
> > > > then software which uses the "old" FindSoprano.cmake, let's call if
> > > > kfoo, and which does
> > > > include(SopranoAddOntology)
> > > > will not build anymore (because previously the file has been more or
> > > > less accidentially been found), but now, even though this is
> > > > include() is not necessary anymore, it is still there in the
> > > > CMakeLists.txt of kfoo and this include() will fail then.
> > > >
> > > > Is this something we have to care about ?
> > >
> > > yes. 4.3 rc3 does contain a bunch of these includes. But that is
> > > something that could be solved in 4.3 final, right?
> >
> > Hmm, doesn't that mean that then 4.3 would depend on a not yet released
> > version of soprano ?
>
> no, since your macro now finds the soprano macro in the old place.
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem


More information about the Kde-buildsystem mailing list