From 880e1c189d0ee337f185df0da13cafad05224913 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Mon, 28 Nov 2022 23:23:54 +0100 Subject: [PATCH] Link ssl statically --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f2ee53a..d3235ce7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,6 +56,8 @@ message("Generated with config types: ${CMAKE_CONFIGURATION_TYPES}, and built ty enable_testing() find_package(OpenSSL REQUIRED) +set(OPENSSL_USE_STATIC_LIBS TRUE) # link statically + if(APPLE) set(CMAKE_OSX_DEPLOYMENT_TARGET 10.10.5)