From e569a96e2c68954e9eacbe84ecc7963e462d1f0f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 24 Feb 2016 12:38:49 +0100 Subject: Basic but working mailtransport. --- framework/mail/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'framework/mail/CMakeLists.txt') diff --git a/framework/mail/CMakeLists.txt b/framework/mail/CMakeLists.txt index 13788cfa..94d15f4c 100644 --- a/framework/mail/CMakeLists.txt +++ b/framework/mail/CMakeLists.txt @@ -6,19 +6,25 @@ set(mailplugin_SRCS folderlistmodel.cpp folderlistcontroller.cpp actions/sinkactions.cpp + actions/mailactions.cpp objecttreesource.cpp stringhtmlwriter.cpp csshelper.cpp composer.cpp messageparser.cpp + mailtransport.cpp ) add_definitions(-DMAIL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data") +find_package(CURL 7.20.0 REQUIRED) + +include_directories(${CURL_INCLUDE_DIRS}) + add_library(mailplugin SHARED ${mailplugin_SRCS}) qt5_use_modules(mailplugin Core Quick Qml) -target_link_libraries(mailplugin actionplugin sink KF5::Otp) +target_link_libraries(mailplugin actionplugin sink KF5::Otp ${CURL_LIBRARIES}) install(TARGETS mailplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kube/mail) install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kube/mail) -- cgit v1.2.3