mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Merge pull request #11344 from Chocobo1/defines
Update libtorrent build defines on Windows
This commit is contained in:
commit
c5da4d1500
@ -38,6 +38,8 @@ else()
|
|||||||
# libtorrent is very picky about those. Let's take a set of defaults and
|
# libtorrent is very picky about those. Let's take a set of defaults and
|
||||||
# hope that they apply. If not, you the user are on your own.
|
# hope that they apply. If not, you the user are on your own.
|
||||||
set(LibtorrentRasterbar_DEFINITIONS
|
set(LibtorrentRasterbar_DEFINITIONS
|
||||||
|
-DTORRENT_USE_LIBCRYPTO
|
||||||
|
# TODO: remove the following define as it is not used since OpenSSL >= 1.1
|
||||||
-DTORRENT_USE_OPENSSL
|
-DTORRENT_USE_OPENSSL
|
||||||
-DBOOST_ASIO_ENABLE_CANCELIO
|
-DBOOST_ASIO_ENABLE_CANCELIO
|
||||||
-DUNICODE -D_UNICODE -D_FILE_OFFSET_BITS=64)
|
-DUNICODE -D_UNICODE -D_FILE_OFFSET_BITS=64)
|
||||||
|
@ -5,8 +5,12 @@ list(APPEND CMAKE_LIBRARY_PATH "$ENV{LIB}")
|
|||||||
set(LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
set(LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
||||||
-DBOOST_ASIO_DISABLE_CONNECTEX
|
-DBOOST_ASIO_DISABLE_CONNECTEX
|
||||||
-DBOOST_EXCEPTION_DISABLE
|
-DBOOST_EXCEPTION_DISABLE
|
||||||
|
-DTORRENT_USE_LIBCRYPTO
|
||||||
|
# TODO: remove the following define as it is not used since OpenSSL >= 1.1
|
||||||
-DTORRENT_USE_OPENSSL
|
-DTORRENT_USE_OPENSSL
|
||||||
-DTORRENT_DISABLE_RESOLVE_COUNTRIES)
|
# TODO: remove the following define as it is not used since libtorrent >= 1.2
|
||||||
|
-DTORRENT_DISABLE_RESOLVE_COUNTRIES
|
||||||
|
)
|
||||||
|
|
||||||
set(LibtorrentRasterbar_CUSTOM_BOOST_DEPENDENCIES system)
|
set(LibtorrentRasterbar_CUSTOM_BOOST_DEPENDENCIES system)
|
||||||
|
|
||||||
|
@ -3,7 +3,10 @@
|
|||||||
DEFINES += BOOST_ASIO_DISABLE_CONNECTEX
|
DEFINES += BOOST_ASIO_DISABLE_CONNECTEX
|
||||||
DEFINES += BOOST_EXCEPTION_DISABLE
|
DEFINES += BOOST_EXCEPTION_DISABLE
|
||||||
|
|
||||||
|
DEFINES += TORRENT_USE_LIBCRYPTO
|
||||||
|
# TODO: remove the following define as it is not used since OpenSSL >= 1.1
|
||||||
DEFINES += TORRENT_USE_OPENSSL
|
DEFINES += TORRENT_USE_OPENSSL
|
||||||
|
# TODO: remove the following define as it is not used since libtorrent >= 1.2
|
||||||
DEFINES += TORRENT_DISABLE_RESOLVE_COUNTRIES
|
DEFINES += TORRENT_DISABLE_RESOLVE_COUNTRIES
|
||||||
|
|
||||||
DEFINES += NTDDI_VERSION=0x06010000
|
DEFINES += NTDDI_VERSION=0x06010000
|
||||||
|
Loading…
Reference in New Issue
Block a user