kdeconnect-kde/kded/plugins/filetransfer/CMakeLists.txt

37 lines
888 B
CMake
Raw Normal View History

2013-08-13 23:09:46 +01:00
find_package(KDE4 REQUIRED)
find_package(QJSON REQUIRED)
find_package(QCA2 REQUIRED)
include_directories(
${QJSON_INCLUDE_DIR}
${KIO_INCLUDE_DIR}
${QCA2_INCLUDE_DIR}
)
include(KDE4Defaults)
2013-08-13 23:09:46 +01:00
include_directories(${KDE4_INCLUDES})
2013-08-13 23:18:32 +01:00
set(kdeconnect_filetransfer_SRCS
2013-08-13 23:09:46 +01:00
filetransferplugin.cpp
autoclosingqfile.cpp
2013-08-13 23:09:46 +01:00
../kdeconnectplugin.cpp
2013-08-13 23:18:32 +01:00
../pluginloader.cpp
../../filetransferjob.cpp
2013-08-13 23:18:32 +01:00
../../networkpackage.cpp
../../device.cpp
2013-08-13 23:09:46 +01:00
)
2013-08-13 23:18:32 +01:00
kde4_add_plugin(kdeconnect_filetransfer ${kdeconnect_filetransfer_SRCS})
2013-08-13 23:09:46 +01:00
2013-08-13 23:18:32 +01:00
target_link_libraries(kdeconnect_filetransfer
2013-08-13 23:09:46 +01:00
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
${KDE4_KIO_LIBS}
2013-08-13 23:09:46 +01:00
${QT_QTNETWORK_LIBRARY}
${QJSON_LIBRARIES}
${QCA2_LIBRARIES}
2013-08-13 23:09:46 +01:00
)
2013-08-13 23:18:32 +01:00
install(TARGETS kdeconnect_filetransfer DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES kdeconnect_filetransfer.desktop DESTINATION ${SERVICES_INSTALL_DIR} )