soprano cmake patch - making backends optional

Alexander Neundorf neundorf at kde.org
Wed Jan 28 22:04:57 CET 2009


On Wednesday 28 January 2009, Maciej Mrozowski wrote:
> Hi
>
> I believe this should rather go to Sebastian Trueg, but as far as it's
> buildsystem related I decided to post it here.
>
> Attached patch just adds cmake options ENABLE_Redland, ENABLE_CLucene and
> ENABLE_Sesame2 to make it possible to explicitly disable building some
> backends, even when required dependencies are present in system.
> So far script just autodetects dependencies and enables everything
> available (and it's not really desired on source based distributions -
> hence the patch).

Why don't you use MacroOptionalFindPackage.cmake from kdelibs/cmake/modules/ ?

Alex


More information about the Kde-buildsystem mailing list