summaryrefslogtreecommitdiffstats
path: root/framework/mail/CMakeLists.txt
blob: 9a32cc83e7bcb4f3abb1a02175abb76921c3b8e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set(mailplugin_SRCS
    mailplugin.cpp
    maillistcontroller.cpp
    maillistmodel.cpp
    singlemailcontroller.cpp
    folderlistmodel.cpp
    folderlistcontroller.cpp
    actions/akonadiactions.cpp
    objecttreesource.cpp
    stringhtmlwriter.cpp
)

add_library(mailplugin SHARED ${mailplugin_SRCS})

qt5_use_modules(mailplugin Core Quick Qml)

target_link_libraries(mailplugin actionplugin KF5::akonadi2common KF5::Otp actionplugin)

install(TARGETS mailplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kube/mail)
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kube/mail)