kdeconnect-kde/kio/CMakeLists.txt
Ivan Čukić 6dbfe9cd24 Qt Network is used by the KIO module
Reviewers: albertvaka, ngraham, #plasma, #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D11251
2018-05-26 23:13:47 +02:00

21 lines
533 B
CMake

include_directories(${CMAKE_SOURCE_DIR})
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kio")
set(kio_kdeconnect_PART_SRCS
kiokdeconnect.cpp
)
add_library(kio_kdeconnect MODULE ${kio_kdeconnect_PART_SRCS})
target_link_libraries(kio_kdeconnect
kdeconnectinterfaces
Qt5::Core
Qt5::Gui
Qt5::Network
KF5::KIOCore
KF5::I18n
)
########### install files ###############
install(TARGETS kio_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES kdeconnect.protocol DESTINATION ${SERVICES_INSTALL_DIR})