summaryrefslogtreecommitdiffstats
path: root/examples/mailtransportresource/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-19 20:09:30 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-19 20:09:30 +0100
commit890b12ba3b2889dd0d5331534c8c1f22abf4a80b (patch)
treec2af162b884fe8bcd7a6addf55d0473524173046 /examples/mailtransportresource/CMakeLists.txt
parent71d27b4b016240e4a5ae28c59991317dec2fdcd4 (diff)
downloadsink-890b12ba3b2889dd0d5331534c8c1f22abf4a80b.tar.gz
sink-890b12ba3b2889dd0d5331534c8c1f22abf4a80b.zip
Get mailtransport to work with kolab container.
Diffstat (limited to 'examples/mailtransportresource/CMakeLists.txt')
-rw-r--r--examples/mailtransportresource/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
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})
12add_library(${PROJECT_NAME} SHARED mailtransportresource.cpp mailtransport.cpp) 12add_library(${PROJECT_NAME} SHARED mailtransportresource.cpp mailtransport.cpp)
13qt5_use_modules(${PROJECT_NAME} Core Network) 13qt5_use_modules(${PROJECT_NAME} Core Network)
14target_link_libraries(${PROJECT_NAME} sink KF5::Mime ${CURL_LIBRARIES}) 14target_link_libraries(${PROJECT_NAME} sink KF5::Mime ${CURL_LIBRARIES})
15install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH})
15 16
16add_subdirectory(tests) 17add_executable(sink_smtp_test smtptest.cpp mailtransport.cpp)
18qt5_use_modules(sink_smtp_test Core Network)
19target_link_libraries(sink_smtp_test sink KF5::Mime ${CURL_LIBRARIES})
20install(TARGETS sink_smtp_test ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
17 21
18install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) 22add_subdirectory(tests)