Skip to content

Commit 4e9ea93

Browse files
committed
debug24_open_ssl_static
1 parent 24656dd commit 4e9ea93

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
99
# set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
1010
# 1. Globally tell CMake to prefer static libraries over shared DLLs
1111
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build static libraries" FORCE)
12+
set(OPENSSL_USE_STATIC_LIBS TRUE)
1213

1314
# 2. Specifically override Protobuf/Abseil if they ignore BUILD_SHARED_LIBS
1415
set(protobuf_BUILD_SHARED_LIBS OFF CACHE BOOL "Build protobuf as static" FORCE)

0 commit comments

Comments
 (0)