| Summary: | fix for "automagic" dependency for assuan if it is really optional | ||
|---|---|---|---|
| Product: | [Applications] kleopatra | Reporter: | David <StormByte> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | osterfeld |
| Priority: | NOR | ||
| Version First Reported In: | outdated (old bug dump) | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | FindAssuan.cmake.patch | ||
|
Description
David
2008-01-21 23:25:37 UTC
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 |