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

37 lines
879 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}
)
set(kdeconnect_sharereceiver_SRCS
sharereceiverplugin.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
)
kde4_add_plugin(kdeconnect_sharereceiver ${kdeconnect_sharereceiver_SRCS})
2013-08-13 23:09:46 +01:00
target_link_libraries(kdeconnect_sharereceiver
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
)
install(TARGETS kdeconnect_sharereceiver DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES kdeconnect_sharereceiver.desktop DESTINATION ${SERVICES_INSTALL_DIR} )