Detect incompatible libtorrent v2 versions in build systems

Although the detection is working, the error message in autotools is not
perfect, i.e. it would only mention valid range for libtorrent v1 and it
shouldn't be a problem since v2 support isn't fully ready yet.
This commit is contained in:
Chocobo1 2021-07-29 14:15:59 +08:00
parent e47d90b5a6
commit 7d7f967d5e
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
5 changed files with 236 additions and 63 deletions

View file

@ -14,7 +14,8 @@ set(CMAKE_FIND_PACKAGE_PREFER_CONFIG ON)
set(minBoostVersion 1.65)
set(minQtVersion 5.15.2)
set(minOpenSSLVersion 1.1.1)
set(minLibtorrentVersion 1.2.14)
set(minLibtorrent1Version 1.2.14)
set(minLibtorrentVersion 2.0.4)
set(minZlibVersion 1.2.11)
# features (some are platform-specific)