2014-06-14 14:22:40 +01:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR})
|
|
|
|
|
2014-01-16 14:32:35 +00:00
|
|
|
set(kio_kdeconnect_PART_SRCS
|
|
|
|
kiokdeconnect.cpp
|
|
|
|
kdebugnamespace.cpp)
|
|
|
|
|
|
|
|
kde4_add_plugin(kio_kdeconnect ${kio_kdeconnect_PART_SRCS})
|
|
|
|
|
|
|
|
add_dependencies(kio_kdeconnect libkdeconnect)
|
|
|
|
|
|
|
|
target_link_libraries(kio_kdeconnect
|
|
|
|
${KDE4_KDECORE_LIBS}
|
|
|
|
${KDE4_KIO_LIBRARY}
|
|
|
|
${KDE4_KDEUI_LIBRARY}
|
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
kdeconnect
|
|
|
|
)
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install(TARGETS kio_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES kdeconnect.protocol DESTINATION ${SERVICES_INSTALL_DIR})
|