Changeset View
Changeset View
Standalone View
Standalone View
kaccounts/CMakeLists.txt
1 | find_package(KF5Notifications ${KF5_MIN_VERSION} REQUIRED) | 1 | find_package(KF5Notifications ${KF5_MIN_VERSION} REQUIRED) | ||
---|---|---|---|---|---|
2 | find_package(Intltool REQUIRED) | 2 | find_package(Intltool REQUIRED) | ||
3 | 3 | | |||
4 | kaccounts_add_service(${CMAKE_CURRENT_SOURCE_DIR}/google-drive.service.in) | 4 | kaccounts_add_service(${CMAKE_CURRENT_SOURCE_DIR}/google-drive.service.in) | ||
5 | 5 | | |||
6 | kcoreaddons_add_plugin(kaccounts_gdrive | 6 | kcoreaddons_add_plugin(kaccounts_gdrive | ||
7 | JSON kaccountsplugin.json | ||||
7 | SOURCES kaccountsplugin.cpp | 8 | SOURCES kaccountsplugin.cpp | ||
8 | INSTALL_NAMESPACE kaccounts/daemonplugins) | 9 | INSTALL_NAMESPACE kaccounts/daemonplugins) | ||
9 | 10 | | |||
10 | set_target_properties(kaccounts_gdrive PROPERTIES OUTPUT_NAME "gdrive") | 11 | set_target_properties(kaccounts_gdrive PROPERTIES OUTPUT_NAME "gdrive") | ||
11 | target_link_libraries(kaccounts_gdrive | 12 | target_link_libraries(kaccounts_gdrive | ||
12 | KAccounts | 13 | KAccounts | ||
13 | KF5::KIOWidgets | 14 | KF5::KIOWidgets | ||
14 | KF5::I18n | 15 | KF5::I18n | ||
15 | KF5::Notifications) | 16 | KF5::Notifications) | ||
16 | 17 | | |||
17 | install(FILES gdrive.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR}) | 18 | install(FILES gdrive.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR}) |