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()