2013-06-19 15:15:25 +01:00
|
|
|
|
2013-08-21 17:25:44 +01:00
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${CMAKE_SOURCE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR})
|
|
|
|
|
2013-11-06 21:16:55 +00:00
|
|
|
set(kcm_SRCS
|
2013-06-19 15:15:25 +01:00
|
|
|
kcm.cpp
|
2013-11-06 21:16:55 +00:00
|
|
|
devicessortproxymodel.cpp
|
|
|
|
kdebugnamespace.cpp
|
2013-06-25 17:08:34 +01:00
|
|
|
)
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-09-04 18:37:58 +01:00
|
|
|
kde4_add_ui_files(kcm_SRCS kcm.ui)
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
kde4_add_plugin(kcm_kdeconnect ${kcm_SRCS})
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-08-21 17:25:44 +01:00
|
|
|
add_dependencies(kcm_kdeconnect libkdeconnect)
|
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
target_link_libraries(kcm_kdeconnect
|
2013-06-19 15:15:25 +01:00
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
${KDE4_KDEUI_LIBRARY}
|
2013-08-13 04:07:32 +01:00
|
|
|
${KDE4_KCMUTILS_LIBS}
|
2013-08-21 17:25:44 +01:00
|
|
|
kdeconnect
|
2013-07-25 16:04:58 +01:00
|
|
|
)
|
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
install(TARGETS kcm_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
install(FILES kcm_kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|