|
|
|
@ -64,7 +64,9 @@ include(ECMInstallIcons)
|
|
|
|
|
include(ECMGenerateHeaders)
|
|
|
|
|
include(ECMQtDeclareLoggingCategory)
|
|
|
|
|
include(ECMGeneratePriFile)
|
|
|
|
|
include(ECMAddAppIcon)
|
|
|
|
|
|
|
|
|
|
include(GenerateExportHeader)
|
|
|
|
|
include(FindPkgConfig)
|
|
|
|
|
|
|
|
|
|
pkg_check_modules( dbus-c++-1 REQUIRED dbus-c++-1 )
|
|
|
|
@ -122,6 +124,23 @@ find_package(KF5KontactInterface ${AKONADINOTES_LIB_VERSION} CONFIG REQUIRED)
|
|
|
|
|
find_package(Inotify)
|
|
|
|
|
find_package(Qca-qt5 2.2.0 CONFIG REQUIRED)
|
|
|
|
|
find_package(Grantlee5 ${GRANTLEE_MIN_VERSION} CONFIG REQUIRED)
|
|
|
|
|
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widgets WebEngine WebEngineWidgets)
|
|
|
|
|
find_package(KF5NotifyConfig ${KF5_MIN_VERSION} CONFIG REQUIRED)
|
|
|
|
|
find_package(KF5Crash ${KF5_MIN_VERSION} CONFIG REQUIRED)
|
|
|
|
|
find_package(KF5MessageList ${MESSAGELIB_LIB_VERSION} CONFIG REQUIRED)
|
|
|
|
|
find_package(KF5TemplateParser ${MESSAGELIB_LIB_VERSION} CONFIG REQUIRED)
|
|
|
|
|
find_package(KF5LibKSieve ${LIBKSIEVE_LIB_VERSION} CONFIG REQUIRED)
|
|
|
|
|
find_package(KF5KCMUtils ${KF5_MIN_VERSION} CONFIG REQUIRED)
|
|
|
|
|
|
|
|
|
|
macro(pim_target_precompile_headers)
|
|
|
|
|
if (USE_PRECOMPILED_HEADERS)
|
|
|
|
|
set(COMPILE_WITH_CMAKE_PCH_SUPPORT ON)
|
|
|
|
|
|
|
|
|
|
if (COMPILE_WITH_CMAKE_PCH_SUPPORT)
|
|
|
|
|
target_precompile_headers(${ARGV})
|
|
|
|
|
endif()
|
|
|
|
|
endif()
|
|
|
|
|
endmacro()
|
|
|
|
|
|
|
|
|
|
pkg_check_modules (SEQUOIA sequoia)
|
|
|
|
|
pkg_check_modules (SEQUOIA_OPENPGP sequoia-openpgp)
|
|
|
|
@ -133,5 +152,6 @@ include_directories(${PROJECT_SOURCE_DIR}/pEpDBusAdapter)
|
|
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/pEpDBusAdapter/types)
|
|
|
|
|
add_subdirectory(akonadi_pep_agent)
|
|
|
|
|
add_subdirectory(messageviewerplugin)
|
|
|
|
|
add_subdirectory(pepcomposer)
|
|
|
|
|
#add_subdirectory(pepcomposer)
|
|
|
|
|
add_subdirectory(pep_plugin)
|
|
|
|
|
|
|
|
|
|