blob: 8b84d9dafad46c8d8679e4d1a2888b6939ce28a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
project(kube-accounts-kolabnow)
find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui)
find_package(Sink CONFIG REQUIRED)
find_package(KAsync CONFIG REQUIRED)
find_package(KF5 REQUIRED COMPONENTS Package Mime)
include_directories(SYSTEM ${KDE_INSTALL_FULL_INCLUDEDIR}/KF5/)
set(SRCS
kolabnowsettings.cpp
kolabnowaccountplugin.cpp
)
add_library(kolabnowaccountplugin SHARED ${SRCS})
target_link_libraries(kolabnowaccountplugin
sink
frameworkplugin
Qt5::Core
Qt5::Quick
Qt5::Qml
)
add_library(kolabnowaccount_static STATIC ${SRCS})
target_link_libraries(kolabnowaccount_static
sink
frameworkplugin
Qt5::Core
Qt5::Quick
Qt5::Qml
)
# add_subdirectory(tests)
kpackage_install_package(package org.kube.accounts.kolabnow "genericqml")
install(TARGETS kolabnowaccountplugin DESTINATION ${QML_INSTALL_DIR}/org/kube/accounts/kolabnow)
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kube/accounts/kolabnow)
|