mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-27 20:32:54 +00:00
31 lines
679 B
Text
31 lines
679 B
Text
![]() |
#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}
|
||
|
)
|