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

37 lines
872 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)
2013-09-26 16:49:40 +01:00
include(KDE4Defaults)
include_directories(
${QJSON_INCLUDE_DIR}
${QCA2_INCLUDE_DIR}
2013-09-26 16:49:40 +01:00
${KDE4_INCLUDES}
${CMAKE_SOURCE_DIR}
)
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} )