summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-06-07 06:42:12 +0200
committerMontel Laurent <[email protected]>2016-06-07 06:42:12 +0200
commita94d58229f9f233fc7be803abe497ab1c09a4315 (patch)
tree54a87031fb242f0b41610499694dda10f2c08123
parentcba3956c4d1cfb8aa0e3c055978e5c2961825bc5 (diff)
Compile
-rw-r--r--kmail/editorsendcheckplugins/checkbeforesend/CMakeLists.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/kmail/editorsendcheckplugins/checkbeforesend/CMakeLists.txt b/kmail/editorsendcheckplugins/checkbeforesend/CMakeLists.txt
index 2fd3f2a..7353286 100644
--- a/kmail/editorsendcheckplugins/checkbeforesend/CMakeLists.txt
+++ b/kmail/editorsendcheckplugins/checkbeforesend/CMakeLists.txt
@@ -1 +1,17 @@
-add_subdirectory(autotests)
+set(kmail_checkbeforesendeditorplugin_SRCS
+ checkbeforesendplugin.cpp
+ )
+
+ecm_qt_declare_logging_category(kmail_checkbeforesendeditorplugin_SRCS HEADER checkbeforesendplugin_debug.h IDENTIFIER KMAIL_EDITOR_checkbeforesend_PLUGIN_LOG CATEGORY_NAME log_kmail_checkbeforesendplugin)
+
+add_library(kmail_checkbeforesendeditorplugin MODULE ${kmail_checkbeforesendeditorplugin_SRCS})
+
+target_link_libraries(kmail_checkbeforesendeditorplugin
+ KF5::IconThemes KF5::MessageComposer KF5::I18n
+ )
+
+install(TARGETS kmail_checkbeforesendeditorplugin DESTINATION ${PLUGIN_INSTALL_DIR}/kmail)
+
+if(BUILD_TESTING)
+ add_subdirectory(autotests)
+endif()