Version: SVN (using Devel) Installed from: Compiled sources OS: Linux I've made a patch for cmake/modules/FindAssuan.cmake in order to only look and activate assuan if WITH_Assuan is true (as the rest of optional dependencies) and thus, not install assuan compatibility if not desired and libassuan is installed. I attach the patch.
Created attachment 23185 [details] FindAssuan.cmake.patch
I tested that patch and works, avoids detection of assuan if no WITH_Assuan is passed to cmake (assuan maybe installed in this case, but won't be used), and compiles with assuan if WITH_Assuan is set.
David, Instead of your patch, can you try changing the line find_package(Assuan) to macro_optional_find_package(Assuan) let us know if that does what you want. this change automatically supports the WITH_Assuan option.
SVN commit 773956 by osterfeld: make kleopatra compile without assuan Use macro_optional_find_package, so Assuan support can be switched off using -DWITH_Assuan=no (as suggested by Allen) I suggest to always have no-assuan build dir around to ensure kleopatra builds without assuan, too BUG:156350 CCMAIL:marc@kdab.net M +18 -12 CMakeLists.txt M +1 -1 ConfigureChecks.cmake WebSVN link: http://websvn.kde.org/?view=rev&revision=773956