CMakeLists.txt 592 Bytes
Newer Older
Nicolas Fella's avatar
Nicolas Fella committed
1
add_library(owncloud_plugin_kaccounts MODULE
Martin Klapetek's avatar
Martin Klapetek committed
2
     owncloud.cpp
3
     owncloudcontroller.cpp
Martin Klapetek's avatar
Martin Klapetek committed
4 5
)

Rituka Patwal's avatar
Rituka Patwal committed
6
target_link_libraries(owncloud_plugin_kaccounts
Martin Klapetek's avatar
Martin Klapetek committed
7 8 9
                       Qt5::Core
                       KF5::KIOCore
                       KF5::I18n
10
                       KF5::Declarative
11
                       KAccounts
Martin Klapetek's avatar
Martin Klapetek committed
12 13
)

Rituka Patwal's avatar
Rituka Patwal committed
14
install(TARGETS owncloud_plugin_kaccounts
Martin Klapetek's avatar
Martin Klapetek committed
15 16
         DESTINATION ${PLUGIN_INSTALL_DIR}/kaccounts/ui
)
17
kpackage_install_package(package org.kde.kaccounts.owncloud genericqml)
18 19 20 21 22 23 24

ecm_install_icons(
ICONS
    256-apps-kaccounts-owncloud.png
DESTINATION
    ${ICON_INSTALL_DIR}
)