From 714e0e6252c6e306cb49e08cf56a703aacd38d25 Mon Sep 17 00:00:00 2001 From: Ludvig Michaelsson Date: Wed, 16 Oct 2024 13:26:22 +0200 Subject: [PATCH] xxx --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 94e42925..a30b96d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,7 +188,8 @@ if(MSVC) set(ZLIB_LIBRARIES zlib1) endif() if(NOT CRYPTO_LIBRARIES) - set(CRYPTO_LIBRARIES crypto) + find_library(CRYPTO_LIBRARIES crypto PATHS ${CRYPTO_LIBRARY_DIRS}) + # set(CRYPTO_LIBRARIES crypto) endif() set(MSVC_DISABLED_WARNINGS_LIST