From c38ff4a8ea98e0717a7f0b8dbcc3351dd971e7f4 Mon Sep 17 00:00:00 2001 From: zhaoxinxin Date: Thu, 5 Nov 2020 22:59:41 +0800 Subject: [PATCH] modified: cmake/external_libs/protobuf_static.cmake --- cmake/external_libs/protobuf_static.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external_libs/protobuf_static.cmake b/cmake/external_libs/protobuf_static.cmake index dc8243f0..25570cef 100755 --- a/cmake/external_libs/protobuf_static.cmake +++ b/cmake/external_libs/protobuf_static.cmake @@ -31,6 +31,7 @@ ExternalProject_Add(protobuf_static_build -DCMAKE_AR=${CMAKE_AR} -DCMAKE_RANLIB=${CMAKE_RANLIB} -Dprotobuf_WITH_ZLIB=OFF + -DLIB_PREFIX=ascend_ -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_CXX_FLAGS=${protobuf_CXXFLAGS} -DCMAKE_CXX_LDFLAGS=${protobuf_LDFLAGS} -DCMAKE_INSTALL_PREFIX=${PROTOBUF_STATIC_PKG_DIR} /cmake BUILD_COMMAND $(MAKE) INSTALL_COMMAND $(MAKE) install