Make OpenSSL a direct dependency

This commit is contained in:
Chocobo1
2018-11-21 21:29:10 +08:00
parent eb957bb790
commit 8a6cac8338
5 changed files with 116 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ include(QbtTargetSources)
find_package(Boost ${requiredBoostVersion} REQUIRED)
find_package(LibtorrentRasterbar REQUIRED)
find_package(OpenSSL ${requiredOpensslVersion} REQUIRED)
if (Boost_VERSION VERSION_LESS 106000)
add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES)