Fix packaging for windows deploying old OpenSSL DLLs

This commit is contained in:
kas 2022-05-02 16:37:57 +02:00
parent b96f21a17a
commit 4cd4d08bf3

View File

@ -149,12 +149,12 @@ if(NOT FLATPAK)
if(NOT APPLE)
if(WIN32)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(SSL_LIB_SUFFIX "-1_1-x64.dll")
set(SSL_LIB_SUFFIX "-3-x64.dll")
else()
set(SSL_LIB_SUFFIX "-1_1.dll")
set(SSL_LIB_SUFFIX "-3.dll")
endif()
else()
set(SSL_LIB_SUFFIX ".so.1.1")
set(SSL_LIB_SUFFIX ".so.3")
endif()
foreach(SSL_LIB_NAME ssl crypto)