CMakeLists.txt 709 Bytes
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1 2 3
set(kmail_confirmaddresseditorplugin_SRCS
    confirmaddressinterface.cpp
    confirmaddressplugin.cpp
Laurent Montel's avatar
Laurent Montel committed
4
    confirmaddressconfigurewidget.cpp
Laurent Montel's avatar
Laurent Montel committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
    )

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})

target_link_libraries(kmail_confirmaddresseditorplugin
    KF5::IconThemes KF5::MessageComposer KF5::I18n
    )

install(TARGETS kmail_confirmaddresseditorplugin DESTINATION ${PLUGIN_INSTALL_DIR}/kmail)

if(BUILD_TESTING)
    add_subdirectory(autotests)
endif()