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:
parent
af3d4639e2
commit
1f756114a5
1 changed files with 6 additions and 2 deletions
8
dist/msi/CMakeLists.txt
vendored
8
dist/msi/CMakeLists.txt
vendored
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue