1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-30 19:03:04 +00:00

Support OpenSSL 1.1 x64 file names (MSI package)

This commit is contained in:
Mike Gelfand 2019-06-18 22:50:03 +03:00
parent af3d4639e2
commit 1f756114a5

View file

@ -23,8 +23,12 @@ endif()
find_msvc_crt_msm(TR_MSVC_CRT_MSM_FILE)
if(OPENSSL_VERSION MATCHES "^1[.]1[.]")
set(TR_OPENSSL_CRYPTO_NAME "libcrypto-1_1.dll")
set(TR_OPENSSL_SSL_NAME "libssl-1_1.dll")
set(TR_OPENSSL_ARCH)
if(ARCH STREQUAL "x64")
set(TR_OPENSSL_ARCH "-x64")
endif()
set(TR_OPENSSL_CRYPTO_NAME "libcrypto-1_1${TR_OPENSSL_ARCH}.dll")
set(TR_OPENSSL_SSL_NAME "libssl-1_1${TR_OPENSSL_ARCH}.dll")
else()
set(TR_OPENSSL_CRYPTO_NAME "libeay32.dll")
set(TR_OPENSSL_SSL_NAME "ssleay32.dll")