kde-extraapps/kget/transfer-plugins/torrent/CMakeLists.txt
Ivailo Monev 87134567cd kget: KGet torrent plugin rewrite
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-11 06:24:15 +03:00

30 lines
679 B
CMake

#Set supported mime type
SET(SUPPORTED_KGET_MIMETYPES "${SUPPORTED_KGET_MIMETYPES}application/x-bittorrent;" PARENT_SCOPE)
include_directories(
../../
${CMAKE_CURRENT_BINARY_DIR}/../../
${LIBTORRENT_INCLUDES}
)
set(kget_torrentfactory_PART_SRCS
transferTorrent.cpp
transferTorrentFactory.cpp
)
kde4_add_plugin(kget_torrentfactory ${kget_torrentfactory_PART_SRCS})
target_link_libraries(kget_torrentfactory
${KDE4_KDECORE_LIBS}
${LIBTORRENT_LIBRARIES}
kgetcore
)
install(
TARGETS kget_torrentfactory
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
install(
FILES kget_torrentfactory.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)