diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-19 20:09:30 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-19 20:09:30 +0100 |
commit | 890b12ba3b2889dd0d5331534c8c1f22abf4a80b (patch) | |
tree | c2af162b884fe8bcd7a6addf55d0473524173046 /examples/mailtransportresource/CMakeLists.txt | |
parent | 71d27b4b016240e4a5ae28c59991317dec2fdcd4 (diff) | |
download | sink-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.txt | 8 |
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}) | |||
12 | add_library(${PROJECT_NAME} SHARED mailtransportresource.cpp mailtransport.cpp) | 12 | add_library(${PROJECT_NAME} SHARED mailtransportresource.cpp mailtransport.cpp) |
13 | qt5_use_modules(${PROJECT_NAME} Core Network) | 13 | qt5_use_modules(${PROJECT_NAME} Core Network) |
14 | target_link_libraries(${PROJECT_NAME} sink KF5::Mime ${CURL_LIBRARIES}) | 14 | target_link_libraries(${PROJECT_NAME} sink KF5::Mime ${CURL_LIBRARIES}) |
15 | install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) | ||
15 | 16 | ||
16 | add_subdirectory(tests) | 17 | add_executable(sink_smtp_test smtptest.cpp mailtransport.cpp) |
18 | qt5_use_modules(sink_smtp_test Core Network) | ||
19 | target_link_libraries(sink_smtp_test sink KF5::Mime ${CURL_LIBRARIES}) | ||
20 | install(TARGETS sink_smtp_test ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
17 | 21 | ||
18 | install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) | 22 | add_subdirectory(tests) |