From 7e77b067b1b1d211c84f2deddebff2710559cc19 Mon Sep 17 00:00:00 2001 From: Henry Winkel Date: Tue, 7 Nov 2023 14:24:04 +0100 Subject: [PATCH] FIX: build protobuf static --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef9ee21..34f7225 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,11 +24,11 @@ IF(NOT TARGET cppzmq) add_subdirectory(libs/cppzmq EXCLUDE_FROM_ALL) ENDIF() - IF(NOT TARGET protobuf) set(ABSL_PROPAGATE_CXX_STD ON CACHE INTERNAL "") set(protobuf_BUILD_TESTS OFF CACHE INTERNAL "") set(protobuf_BUILD_EXAMPLES OFF CACHE INTERNAL "") +set(protobuf_BUILD_SHARED_LIBS OFF CACHE INTERNAL "") add_subdirectory(libs/protobuf ) include(protobuf) ENDIF()