Commit 5597dcb6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

USe kcoreaddons macros

parent 1702848f
......@@ -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_rot13editorplugin.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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment