Make depedency on kdepimlibs/akonadi-server optional

Review Request #100568 - Created Feb. 4, 2011 and submitted

Theo Chatzimichos
4.6 master
Previously, kde-workspace/plasma/generic/dataengines/CMakeLists.txt required kdepimlibs compiled with akonadi-server support. The following patch makes it conditional. Patch originally reported in gentoo bug 350850 [1] by fabianoengler at gmail dot com


Aaron J. Seigo
Theo Chatzimichos
Review request changed

Change Summary:

as requested, the new patch includes calendar. first try to make its akonadi support optional


Revision 2 (+29 -10)

Show changes

Aaron J. Seigo

shouldn't be necessary: akonadi is already found!
indentation incorrect :)

both this and the #ifdef should not be indented at all
Aaron J. Seigo
test compiling, and it this doesn't actually work; in fact, it just unconditionally compiles akonadi out of the calendar engine. i'll experiment a bit and see what works.
Commit Hook
This review has been submitted with commit 5d49ab8a005166563e925e0768857517fea9228e by Aaron Seigo.
Commit Hook
This review has been submitted with commit 5701ee97f896bf25de5dfbcc2699695794f25b34 by Aaron Seigo.