[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim-addons] examples/kmail/editorplugins/rot13: USe kcoreaddons macros
From: Montel Laurent <montel () kde ! org>
Date: 2016-09-19 4:48:05
Message-ID: E1blqUv-0001Qa-Ta () code ! kde ! org
[Download RAW message or body]
Git commit 5597dcb6d656f5133e81473a42de47ff5bf5ca3a by Montel Laurent.
Committed on 19/09/2016 at 04:48.
Pushed by mlaurent into branch 'master'.
USe kcoreaddons macros
M +2 -3 examples/kmail/editorplugins/rot13/CMakeLists.txt
http://commits.kde.org/kdepim-addons/5597dcb6d656f5133e81473a42de47ff5bf5ca=
3a
diff --git a/examples/kmail/editorplugins/rot13/CMakeLists.txt b/examples/k=
mail/editorplugins/rot13/CMakeLists.txt
index 7405eb6..580b6d5 100644
--- a/examples/kmail/editorplugins/rot13/CMakeLists.txt
+++ b/examples/kmail/editorplugins/rot13/CMakeLists.txt
@@ -4,14 +4,13 @@ set(kmail_rot13editorplugin_SRCS
rot13job.cpp
)
=
-add_library(kmail_rot13editorplugin MODULE ${kmail_rot13editorplugin_SRCS})
+kcoreaddons_add_plugin(kmail_rot13editorplugin JSON kmail_rot13editorplugi=
n.json SOURCES
+ ${kmail_rot13editorplugin_SRCS} INSTALL_NAMESPACE kmail)
=
target_link_libraries(kmail_rot13editorplugin
KF5::IconThemes KF5::MessageComposer KF5::XmlGui KF5::I18n
)
=
-install(TARGETS kmail_rot13editorplugin DESTINATION ${PLUGIN_INSTALL_DIR}/=
kmail)
-
if(BUILD_TESTING)
add_subdirectory(autotests)
endif()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic