Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 739c0b39 authored by Pino Toscano's avatar Pino Toscano

cmake: fix libktorrent stuff

- check for the first version that ships the KF5Torrent module, i.e. 2.1
- use the right FOUND variable
- do not try to include a directory called KF5::Torrent
parent f89cfef9
......@@ -74,8 +74,8 @@ set_package_properties(Qca PROPERTIES DESCRIPTION "Support for encryption"
find_package(Gpgmepp 1.7.0)
set_package_properties(Gpgmepp_FOUND PROPERTIES DESCRIPTION "The GpgME++ library" URL "http://www.gnupg.org" TYPE RECOMMENDED PURPOSE "GpgME++ is required to have signature verifying support in KGet.")
find_package(KF5Torrent 1.9.50)
set_package_properties(KF5TORRENT_FOUND PROPERTIES DESCRIPTION "Backend Library of KTorrent" TYPE RECOMMENDED PURPOSE "Needed to build KGet bittorrent support.")
find_package(KF5Torrent 2.1)
set_package_properties(KF5Torrent_FOUND PROPERTIES DESCRIPTION "Backend Library of KTorrent" TYPE RECOMMENDED PURPOSE "Needed to build KGet bittorrent support.")
find_package(LibMms QUIET)
set_package_properties(LIBMMS_FOUND PROPERTIES DESCRIPTION "Library to read mms streams" TYPE RECOMMENDED PURPOSE "Needed to build KGet mms support.")
......
......@@ -5,7 +5,6 @@ kde_enable_exceptions()
include_directories(
../../
KF5::Torrent
)
set(kget_bittorrentfactory_PART_SRCS
bttransfer.cpp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment