Commit e9bc132a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port to kdecoreaddons plugins

parent 4f2df12f
......@@ -4,12 +4,12 @@ set(messageviewer_allheaderstyleplugin_SRCS
allheaderstrategy.cpp
)
add_library(messageviewer_allheaderstyleplugin MODULE ${messageviewer_allheaderstyleplugin_SRCS})
kcoreaddons_add_plugin(messageviewer_allheaderstyleplugin JSON messageviewer_allheaderstyleplugin.json SOURCES
${messageviewer_allheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer)
target_link_libraries(messageviewer_allheaderstyleplugin
KF5::MessageViewer
KF5::XmlGui
KF5::I18n
)
install(TARGETS messageviewer_allheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......@@ -5,12 +5,11 @@ set(messageviewer_briefheaderstyleplugin_SRCS
briefheaderstrategy.cpp
)
add_library(messageviewer_briefheaderstyleplugin MODULE ${messageviewer_briefheaderstyleplugin_SRCS})
kcoreaddons_add_plugin(messageviewer_briefheaderstyleplugin JSON messageviewer_briefheaderstyleplugin.json SOURCES
${messageviewer_briefheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer)
target_link_libraries(messageviewer_briefheaderstyleplugin
KF5::MessageViewer
KF5::XmlGui
KF5::I18n
)
install(TARGETS messageviewer_briefheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
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