Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 36 Lines | |||||
37 | set (OPT_KF5_COMPONENTS DocTools Holidays Contacts Akonadi IdentityManagement Activities Kross) | 37 | set (OPT_KF5_COMPONENTS DocTools Holidays Contacts Akonadi IdentityManagement Activities Kross) | ||
38 | find_package(Gpgmepp) | 38 | find_package(Gpgmepp) | ||
39 | if (Gpgmepp_FOUND) | 39 | if (Gpgmepp_FOUND) | ||
40 | set(GPG_ENCRYPTION "yes") | 40 | set(GPG_ENCRYPTION "yes") | ||
41 | else() | 41 | else() | ||
42 | set(OPT_KF5_COMPONENTS ${OPT_KF5_COMPONENTS} Gpgmepp) | 42 | set(OPT_KF5_COMPONENTS ${OPT_KF5_COMPONENTS} Gpgmepp) | ||
43 | endif() | 43 | endif() | ||
44 | 44 | | |||
45 | find_package(Qt5 5.6 REQUIRED COMPONENTS Core DBus Widgets Svg Sql Xml Test PrintSupport) | 45 | find_package(Qt5 5.6 REQUIRED COMPONENTS Core DBus Widgets Svg Sql Xml Test PrintSupport WebEngineWidgets) | ||
46 | | ||||
47 | #to be deleted when QWebEngine 5.8 will be better spread across distros | ||||
48 | if(Qt5WebEngineWidgets_VERSION VERSION_LESS 5.8.0) | ||||
49 | find_package(KF5KHtml 5.2 REQUIRED) | ||||
50 | endif() | ||||
51 | | ||||
46 | find_package(KF5 5.2 REQUIRED | 52 | find_package(KF5 5.2 REQUIRED | ||
47 | COMPONENTS Archive CoreAddons Config ConfigWidgets I18n KHtml Completion KCMUtils ItemModels ItemViews Service Wallet IconThemes XmlGui TextWidgets Notifications KIO | 53 | COMPONENTS Archive CoreAddons Config ConfigWidgets I18n Completion KCMUtils ItemModels ItemViews Service Wallet IconThemes XmlGui TextWidgets Notifications KIO | ||
48 | OPTIONAL_COMPONENTS ${OPT_KF5_COMPONENTS} | 54 | OPTIONAL_COMPONENTS ${OPT_KF5_COMPONENTS} | ||
49 | ) | 55 | ) | ||
50 | find_package(LibAlkimia 6.0.0 REQUIRED) | 56 | find_package(LibAlkimia 6.0.0 REQUIRED) | ||
51 | find_package(KChart 2.6.0 REQUIRED) | 57 | find_package(KChart 2.6.0 REQUIRED) | ||
52 | 58 | | |||
53 | if(KF5Gpgmepp_FOUND) | 59 | if(KF5Gpgmepp_FOUND) | ||
54 | set(GPG_ENCRYPTION "yes") | 60 | set(GPG_ENCRYPTION "yes") | ||
55 | add_definitions(-DGpgmepp_FOUND) | 61 | add_definitions(-DGpgmepp_FOUND) | ||
▲ Show 20 Lines • Show All 211 Lines • ▼ Show 20 Line(s) | |||||
267 | nice_yesno("LIBOFX_HAVE_CLIENTUID") | 273 | nice_yesno("LIBOFX_HAVE_CLIENTUID") | ||
268 | nice_yesno("KBANKING_FOUND") | 274 | nice_yesno("KBANKING_FOUND") | ||
269 | nice_yesno("WEBOOB_FOUND") | 275 | nice_yesno("WEBOOB_FOUND") | ||
270 | nice_yesno("LIBICAL_FOUND") | 276 | nice_yesno("LIBICAL_FOUND") | ||
271 | nice_yesno("ENABLE_SQLCIPHER") | 277 | nice_yesno("ENABLE_SQLCIPHER") | ||
272 | nice_yesno("USE_QT_DESIGNER") | 278 | nice_yesno("USE_QT_DESIGNER") | ||
273 | nice_yesno("USE_MODELTEST") | 279 | nice_yesno("USE_MODELTEST") | ||
274 | nice_yesno("DOXYGEN_FOUND") | 280 | nice_yesno("DOXYGEN_FOUND") | ||
281 | nice_yesno("KF5KHtml_FOUND") | ||||
275 | message(" | 282 | message(" | ||
276 | -------- KMyMoney ${PROJECT_VERSION}${PROJECT_VERSION_SUFFIX} -------- | 283 | -------- KMyMoney ${PROJECT_VERSION}${PROJECT_VERSION_SUFFIX} -------- | ||
277 | 284 | | |||
278 | Configure results (user options): | 285 | Configure results (user options): | ||
279 | -------------------------------------------- | 286 | -------------------------------------------- | ||
280 | GpgME Encryption: ${GPG_ENCRYPTION} | 287 | GpgME Encryption: ${GPG_ENCRYPTION} | ||
281 | 288 | | |||
282 | KDE PIM holidays: ${nice_KF5Holidays_FOUND} | 289 | KDE PIM holidays: ${nice_KF5Holidays_FOUND} | ||
283 | 290 | | |||
284 | KDE PIM addressbook: ${nice_KMM_ADDRESSBOOK_FOUND} | 291 | KDE PIM addressbook: ${nice_KMM_ADDRESSBOOK_FOUND} | ||
285 | 292 | | |||
286 | OFX plugin: ${nice_LIBOFX_FOUND} | 293 | OFX plugin: ${nice_LIBOFX_FOUND} | ||
287 | OFX supports CLIENTUID: ${nice_LIBOFX_HAVE_CLIENTUID} | 294 | OFX supports CLIENTUID: ${nice_LIBOFX_HAVE_CLIENTUID} | ||
288 | 295 | | |||
289 | KBanking plugin: ${nice_KBANKING_FOUND} | 296 | KBanking plugin: ${nice_KBANKING_FOUND} | ||
290 | 297 | | |||
291 | weboob plugin: ${nice_WEBOOB_FOUND} | 298 | weboob plugin: ${nice_WEBOOB_FOUND} | ||
292 | 299 | | |||
293 | iCalendar export plugin: ${nice_LIBICAL_FOUND} | 300 | iCalendar export plugin: ${nice_LIBICAL_FOUND} | ||
294 | 301 | | |||
295 | SQLCipher plugin: ${nice_ENABLE_SQLCIPHER} | 302 | SQLCipher plugin: ${nice_ENABLE_SQLCIPHER} | ||
303 | | ||||
304 | KHTML printing: ${nice_KF5KHtml_FOUND} | ||||
305 | | ||||
296 | -------------------------------------------- | 306 | -------------------------------------------- | ||
297 | 307 | | |||
298 | 308 | | |||
299 | Configure results (developer options): | 309 | Configure results (developer options): | ||
300 | -------------------------------------------- | 310 | -------------------------------------------- | ||
301 | Qt-Designer library support: ${nice_USE_QT_DESIGNER} | 311 | Qt-Designer library support: ${nice_USE_QT_DESIGNER} | ||
302 | 312 | | |||
303 | Generate modeltest code: ${nice_USE_MODELTEST} | 313 | Generate modeltest code: ${nice_USE_MODELTEST} | ||
304 | 314 | | |||
305 | Generate API documentation with Doxygen: ${nice_DOXYGEN_FOUND}") | 315 | Generate API documentation with Doxygen: ${nice_DOXYGEN_FOUND}") | ||
306 | 316 | | |||
307 | message(" | 317 | message(" | ||
308 | Build type: ${CMAKE_BUILD_TYPE}") | 318 | Build type: ${CMAKE_BUILD_TYPE}") | ||
309 | 319 | |