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)