Commit d445185c authored by Laurent Montel's avatar Laurent Montel 😁

USe new macro

parent 920531e6
......@@ -5,11 +5,12 @@ set(messageviewer_createtodoplugin_SRCS
createtodojob.cpp
)
ecm_qt_declare_logging_category(messageviewer_createtodoplugin_SRCS HEADER createtodoplugin_debug.h IDENTIFIER CREATETODOPLUGIN_LOG CATEGORY_NAME log_createtodoplugin)
add_library(messageviewer_createtodoplugin MODULE ${messageviewer_createtodoplugin_SRCS})
kcoreaddons_add_plugin(messageviewer_createtodoplugin JSON messageviewer_createtodoplugin.json SOURCES
${messageviewer_createtodoplugin_SRCS} INSTALL_NAMESPACE messageviewer)
target_link_libraries(messageviewer_createtodoplugin
KF5::MessageViewer KF5::XmlGui KF5::CalendarCore KF5::IncidenceEditor
)
install(TARGETS messageviewer_createtodoplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
Markdown is supported
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