diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-10 10:56:55 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-10 10:56:55 +0200 |
commit | 161bc918e745801bcf7fa5a9f504c721aab08258 (patch) | |
tree | a17dea7c3f1843f1c975331d93ed1ea0e963c766 /examples/mailtransportresource/CMakeLists.txt | |
parent | 5adfceae08872b9d7f143d8b9464578fb8e43a69 (diff) | |
download | sink-161bc918e745801bcf7fa5a9f504c721aab08258.tar.gz sink-161bc918e745801bcf7fa5a9f504c721aab08258.zip |
Added a mailtransport resource for smtp
Diffstat (limited to 'examples/mailtransportresource/CMakeLists.txt')
-rw-r--r-- | examples/mailtransportresource/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/mailtransportresource/CMakeLists.txt b/examples/mailtransportresource/CMakeLists.txt new file mode 100644 index 0000000..c9b0401 --- /dev/null +++ b/examples/mailtransportresource/CMakeLists.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | project(sink_resource_mailtransport) | ||
2 | |||
3 | add_definitions(-DQT_PLUGIN) | ||
4 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | ||
5 | |||
6 | find_package(KF5 COMPONENTS REQUIRED Mime) | ||
7 | find_package(CURL 7.20.0 REQUIRED) | ||
8 | |||
9 | include_directories(${CURL_INCLUDE_DIRS}) | ||
10 | |||
11 | |||
12 | add_library(${PROJECT_NAME} SHARED facade.cpp mailtransportresource.cpp mailtransport.cpp) | ||
13 | qt5_use_modules(${PROJECT_NAME} Core Network) | ||
14 | target_link_libraries(${PROJECT_NAME} sink KF5::Mime ${CURL_LIBRARIES}) | ||
15 | |||
16 | install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${SINK_RESOURCE_PLUGINS_PATH}) | ||