Commit a2e48c62 authored by Laurent Montel's avatar Laurent Montel 😁

Fix dependancies.

parent a3e8b580
......@@ -78,7 +78,8 @@ set(KIMAP_LIB_VERSION "5.5.40")
set(LIBKSIEVE_LIB_VERSION_LIB "5.5.40")
set(KMAILTRANSPORT_LIB_VERSION "5.5.40")
set(AKONADICONTACT_LIB_VERSION "5.5.40")
set(IMPORTWIZARD_LIB_VERSION "5.5.41")
set(IMPORTWIZARD_LIB_VERSION "5.5.42")
set(MAILIMPORTER_LIB_VERSION "5.5.40")
find_package(KF5CalendarUtils ${CALENDAR_UTILS_VERSION} CONFIG REQUIRED)
......@@ -108,7 +109,7 @@ find_package(KF5Tnef ${KTNEF_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5MailTransportAkonadi ${KMAILTRANSPORT_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5AkonadiContact ${AKONADICONTACT_LIB_VERSION} CONFIG REQUIRED)
find_package(KPimImportWizard ${IMPORTWIZARD_LIB_VERSION} CONFIG)
find_package(KF5MailImporterAkonadi ${MAILIMPORTER_LIB_VERSION} CONFIG REQUIRED)
add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII )
add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
......@@ -129,7 +130,9 @@ add_subdirectory(kmail)
add_subdirectory(kaddressbook)
add_subdirectory(akregator)
add_subdirectory(sieveeditor)
add_subdirectory(akonadi-import-wizard)
if (KPimImportWizard_FOUND)
add_subdirectory(akonadi-import-wizard)
endif()
install( FILES kdepim-addons.categories kdepim-addons.renamecategories DESTINATION ${KDE_INSTALL_CONFDIR} )
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment