From 890b12ba3b2889dd0d5331534c8c1f22abf4a80b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 19 Dec 2016 20:09:30 +0100 Subject: Get mailtransport to work with kolab container. --- examples/mailtransportresource/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'examples/mailtransportresource/CMakeLists.txt') diff --git a/examples/mailtransportresource/CMakeLists.txt b/examples/mailtransportresource/CMakeLists.txt index d16e779..03b89db 100644 --- a/examples/mailtransportresource/CMakeLists.txt +++ b/examples/mailtransportresource/CMakeLists.txt @@ -12,7 +12,11 @@ include_directories(${CURL_INCLUDE_DIRS}) add_library(${PROJECT_NAME} SHARED mailtransportresource.cpp mailtransport.cpp) qt5_use_modules(${PROJECT_NAME} Core Network) target_link_libraries(${PROJECT_NAME} sink KF5::Mime ${CURL_LIBRARIES}) +install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) -add_subdirectory(tests) +add_executable(sink_smtp_test smtptest.cpp mailtransport.cpp) +qt5_use_modules(sink_smtp_test Core Network) +target_link_libraries(sink_smtp_test sink KF5::Mime ${CURL_LIBRARIES}) +install(TARGETS sink_smtp_test ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) -install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) +add_subdirectory(tests) -- cgit v1.2.3