From 0e707d07a0bd03613b9a8cacdac05634947f3208 Mon Sep 17 00:00:00 2001 From: Leonardo Alminana Date: Thu, 14 Mar 2024 19:05:28 +0100 Subject: [PATCH] build: attempted to fix nghttp2 related additional linkage issues Signed-off-by: Leonardo Alminana --- lib/nghttp2/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/nghttp2/CMakeLists.txt b/lib/nghttp2/CMakeLists.txt index 99a2b77f3be..4681db75346 100644 --- a/lib/nghttp2/CMakeLists.txt +++ b/lib/nghttp2/CMakeLists.txt @@ -52,6 +52,10 @@ endif() include(GNUInstallDirs) +# This is necessary to ensure that we link openssl statically +set(OPENSSL_USE_STATIC_LIBS ON) +set(OPENSSL_MSVC_STATIC_RT ON) + # For documentation find_package(Python3 COMPONENTS Interpreter)