We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24656dd commit 4e9ea93Copy full SHA for 4e9ea93
1 file changed
CMakeLists.txt
@@ -9,6 +9,7 @@ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
9
# set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
10
# 1. Globally tell CMake to prefer static libraries over shared DLLs
11
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build static libraries" FORCE)
12
+set(OPENSSL_USE_STATIC_LIBS TRUE)
13
14
# 2. Specifically override Protobuf/Abseil if they ignore BUILD_SHARED_LIBS
15
set(protobuf_BUILD_SHARED_LIBS OFF CACHE BOOL "Build protobuf as static" FORCE)
0 commit comments