summaryrefslogtreecommitdiffstats
path: root/accounts/gmail/CMakeLists.txt
blob: 5be1b1346dacb85e69627e2b589e45ed5aaa3089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
project(kube-accounts-gmail)

set(SRCS
    gmailsettings.cpp
    gmailaccountplugin.cpp
)

add_library(gmailaccountplugin SHARED ${SRCS})
target_link_libraries(gmailaccountplugin
    sink
    frameworkplugin
    Qt5::Core
    Qt5::Quick
    Qt5::Qml
)

kpackage_install_package(package org.kube.accounts.gmail "genericqml")

install(TARGETS gmailaccountplugin DESTINATION ${QML_INSTALL_DIR}/org/kube/accounts/gmail)
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kube/accounts/gmail)