From 956764464e84732d486453b8cc5b97daa930957e Mon Sep 17 00:00:00 2001 From: txtsd Date: Tue, 7 Mar 2023 01:55:01 +0530 Subject: [PATCH] change: Require OpenSSL >= 3.0.0 Signed-off-by: txtsd --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a3481b..832ba4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ find_package(Threads REQUIRED) if (STATIC_BINARY) set(OPENSSL_USE_STATIC_LIBS TRUE) endif () -find_package(OpenSSL REQUIRED COMPONENTS SSL Crypto) +find_package(OpenSSL 3.0.0 REQUIRED COMPONENTS SSL Crypto) # Add httplib (cpp-httplib) find_package(httplib 0.12.0 COMPONENTS OpenSSL ZLIB Brotli)