1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 14:57:52 +00:00

CMake: Check for required libtorrent version

This commit is contained in:
Vladimir Golovnev (Glassez) 2019-01-09 15:09:36 +03:00
parent 302c99d7d5
commit 6d6af8e70d
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ include(FeatureSummary)
set(requiredBoostVersion 1.35)
set(requiredQtVersion 5.5.1)
set(requiredOpensslVersion 1.0)
set(requiredLibtorrentVersion 1.1.10)
if(WIN32)
include(winconf)

View File

@ -15,7 +15,7 @@ qbt_set_compiler_options()
include(QbtTargetSources)
find_package(Boost ${requiredBoostVersion} REQUIRED)
find_package(LibtorrentRasterbar REQUIRED)
find_package(LibtorrentRasterbar ${requiredLibtorrentVersion} REQUIRED)
find_package(OpenSSL ${requiredOpensslVersion} REQUIRED)
if (Boost_VERSION VERSION_LESS 106000)