[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Adding a dependency on Nepomuk to kdegraphics
From: Allen Winter <winter () kde ! org>
Date: 2008-03-18 22:56:56
Message-ID: 200803181856.57592.winter () kde ! org
[Download RAW message or body]
On Tuesday 18 March 2008 17:07:44 Aurélien Gâteau wrote:
> Hello,
>
> I have been working on adding support for Nepomuk to Gwenview lately. I
> added the necessary CMake checks to find the required library, based on
> the kdebase checks.
> I noticed Nepomuk is an optional dependency of kdebase. Am I right in
> assuming the dependency is optional because Nepomuk was not as available
> or stable as now when this dependency was introduced? Should I make
> kdegraphics dependency on Nepomuk optional too?
>
Nepomuk will only be built in kdelibs if Soprano is available.
And one might wish to build kdegraphics without Nepomuk support optionally.
So a macro_optional_find_package(Nepomuk) might be what you want.
That's how we do it in kdepim/CMakeLists.txt. ie:
macro_optional_find_package(Nepomuk)
macro_log_feature(Nepomuk_FOUND "Nepomuk" "Nepomuk" "http://www.kde.org"
FALSE "" "For adding desktop-wide tagging support to gwenview")
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic