From 263ce20473419792f6740afe03ff4f3fdf88b5c7 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sun, 14 May 2023 15:51:31 -0400 Subject: [PATCH] Fix finding libssl and libcrypto on MSYS builds --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f37f55b0..b8099eed 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -500,7 +500,7 @@ if(WIN32) # install OpenSSL library if(WITH_XC_NETWORKING) find_file(OPENSSL_DLL - NAMES libssl-1_1.dll libssl-1_1-x64.dll + NAMES libssl-3.dll libssl-3-x64.dll HINTS "${OPENSSL_ROOT_DIR}/bin" ) if (NOT OPENSSL_DLL) @@ -508,7 +508,7 @@ if(WIN32) endif() find_file(CRYPTO_DLL - NAMES libcrypto-1_1.dll libcrypto-1_1-x64.dll + NAMES libcrypto-3.dll libcrypto-3-x64.dll HINTS "${OPENSSL_ROOT_DIR}/bin" ) if (NOT CRYPTO_DLL)