2013-06-19 15:15:25 +01:00
|
|
|
|
2013-06-27 01:13:16 +01:00
|
|
|
set(kcm_SRCS devicesmodel.cpp
|
2013-06-19 15:15:25 +01:00
|
|
|
kcm.cpp
|
2013-06-25 20:19:17 +01:00
|
|
|
wizard.cpp
|
2013-06-27 01:13:16 +01:00
|
|
|
daemondbusinterface.cpp
|
2013-06-19 15:15:25 +01:00
|
|
|
)
|
|
|
|
|
2013-06-25 17:08:34 +01:00
|
|
|
qt4_add_dbus_interface(
|
|
|
|
kcm_SRCS
|
2013-06-25 17:43:54 +01:00
|
|
|
${CMAKE_BINARY_DIR}/daemon/org.kde.kdeconnect.xml
|
2013-06-27 01:13:16 +01:00
|
|
|
org_kde_kdeconnect_interface
|
2013-06-25 17:08:34 +01:00
|
|
|
)
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-06-25 17:43:54 +01:00
|
|
|
kde4_add_ui_files(kcm_SRCS kcm.ui wizard.ui)
|
2013-06-19 15:15:25 +01:00
|
|
|
|
|
|
|
kde4_add_plugin(kdeconnect-kcm ${kcm_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(kdeconnect-kcm
|
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
${KDE4_KDEUI_LIBRARY}
|
|
|
|
${KDE4_KIO_LIBRARY}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS kdeconnect-kcm DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
|
|
|
|
install(FILES kdeconnect-kcm.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|