From b6150e1fa79e3bbf74dd9bcadb1db4e9193094f7 Mon Sep 17 00:00:00 2001 From: wopeizl Date: Thu, 11 Apr 2019 15:00:31 +0800 Subject: [PATCH] disable the share lib for protobuf test=develop (#16778) --- cmake/external/protobuf.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external/protobuf.cmake b/cmake/external/protobuf.cmake index 69da9b98198..09eb437aede 100644 --- a/cmake/external/protobuf.cmake +++ b/cmake/external/protobuf.cmake @@ -221,6 +221,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST) -DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${PROTOBUF_INSTALL_DIR} -DCMAKE_INSTALL_LIBDIR=lib + -DBUILD_SHARED_LIBS=OFF CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${PROTOBUF_INSTALL_DIR} -DCMAKE_BUILD_TYPE:STRING=${THIRD_PARTY_BUILD_TYPE} -- GitLab