Commit 3c963130 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Convert more CMakeLists

parent a8e8790b
......@@ -9,14 +9,13 @@ set(kmail_automaticaddcontactseditorplugin_SRCS
ecm_qt_declare_logging_category(kmail_automaticaddcontactseditorplugin_SRCS HEADER automaticaddcontactsplugin_debug.h IDENTIFIER KMAIL_EDITOR_AUTOMATICADDCONTACTS_PLUGIN_LOG CATEGORY_NAME log_kmail_automaticaddcontactsplugin)
add_library(kmail_automaticaddcontactseditorplugin MODULE ${kmail_automaticaddcontactseditorplugin_SRCS})
kcoreaddons_add_plugin(kmail_automaticaddcontactseditorplugin JSON kmail_automaticaddcontactsplugin.json SOURCES
${kmail_automaticaddcontactseditorplugin_SRCS} INSTALL_NAMESPACE kmail)
target_link_libraries(kmail_automaticaddcontactseditorplugin
KF5::IconThemes KF5::MessageComposer KF5::I18n KF5::PimCommon
)
install(TARGETS kmail_automaticaddcontactseditorplugin DESTINATION ${PLUGIN_INSTALL_DIR}/kmail)
if(BUILD_TESTING)
add_subdirectory(autotests)
endif()
......
......@@ -10,14 +10,13 @@ set(kmail_checkbeforesendeditorplugin_SRCS
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})
kcoreaddons_add_plugin(kmail_checkbeforesendeditorplugin JSON kmail_checkbeforesendplugin.json SOURCES
${kmail_checkbeforesendeditorplugin_SRCS} INSTALL_NAMESPACE kmail)
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()
......@@ -11,14 +11,13 @@ set(kmail_confirmaddresseditorplugin_SRCS
ecm_qt_declare_logging_category(kmail_confirmaddresseditorplugin_SRCS HEADER confirmaddressplugin_debug.h IDENTIFIER KMAIL_EDITOR_CONFIRMADDRESS_PLUGIN_LOG CATEGORY_NAME log_kmail_confirmaddressplugin)
add_library(kmail_confirmaddresseditorplugin MODULE ${kmail_confirmaddresseditorplugin_SRCS})
kcoreaddons_add_plugin(kmail_confirmaddresseditorplugin JSON kmail_confirmaddressplugin.json SOURCES
${kmail_confirmaddresseditorplugin_SRCS} INSTALL_NAMESPACE kmail)
target_link_libraries(kmail_confirmaddresseditorplugin
KF5::IconThemes KF5::MessageComposer KF5::I18n KF5::PimCommon
)
install(TARGETS kmail_confirmaddresseditorplugin 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