Changeset View
Changeset View
Standalone View
Standalone View
kaccounts/CMakeLists.txt
1 | project(kaccounts-integration-plugin) | 1 | kcoreaddons_add_plugin(kaccounts_ktp_plugin | ||
---|---|---|---|---|---|
2 | 2 | JSON kaccountsplugin.json | |||
3 | include_directories (${CMAKE_CURRENT_BINARY_DIR} | 3 | SOURCES kaccounts-ktp-plugin.cpp | ||
4 | ${CMAKE_CURRENT_SOURCE_DIR} | 4 | INSTALL_NAMESPACE kaccounts/daemonplugins) | ||
5 | ) | | |||
6 | | ||||
7 | set(kaccounts_ktp_plugin_SRCS | | |||
8 | kaccounts-ktp-plugin.cpp | | |||
9 | ) | | |||
10 | | ||||
11 | add_library(kaccounts_ktp_plugin MODULE ${kaccounts_ktp_plugin_SRCS}) | | |||
12 | 5 | | |||
13 | target_link_libraries(kaccounts_ktp_plugin | 6 | target_link_libraries(kaccounts_ktp_plugin | ||
14 | Qt5::Core | 7 | Qt5::Core | ||
15 | Qt5::DBus | 8 | Qt5::DBus | ||
16 | KF5::ConfigCore | 9 | KF5::ConfigCore | ||
17 | KF5::CoreAddons | 10 | KF5::CoreAddons | ||
18 | KTp::Logger | 11 | KTp::Logger | ||
19 | KAccounts | 12 | KAccounts | ||
20 | ${ACCOUNTSQT_LIBRARIES} | 13 | ${ACCOUNTSQT_LIBRARIES} | ||
21 | ${SIGNONQT_LIBRARIES} | 14 | ${SIGNONQT_LIBRARIES} | ||
22 | ) | 15 | ) | ||
23 | | ||||
24 | # Install: | | |||
25 | install (TARGETS kaccounts_ktp_plugin | | |||
26 | DESTINATION ${PLUGIN_INSTALL_DIR}/kaccounts/daemonplugins | | |||
27 | ) | | |||
28 | | ||||
29 | |