From b5222b5f7dd426dd46a5f0d64a1989d4c72167c7 Mon Sep 17 00:00:00 2001 From: parhelia512 <0011d3@gmail.com> Date: Sat, 17 May 2025 22:55:17 +0800 Subject: [PATCH] build: fix protobuf v31.0 build (#419) --- script/build_deps_all.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/build_deps_all.sh b/script/build_deps_all.sh index 43d5b65..809afbe 100755 --- a/script/build_deps_all.sh +++ b/script/build_deps_all.sh @@ -23,7 +23,7 @@ clean() { } #### protobuf #### -git clone --recurse-submodules -b v30.2 --depth 1 --shallow-submodules https://github.com/parhelia512/protobuf +git clone --recurse-submodules -b v31.0 --depth 1 --shallow-submodules https://github.com/protocolbuffers/protobuf mkdir -p protobuf/build cd protobuf/build @@ -34,7 +34,6 @@ $cmake .. -GNinja \ -Dprotobuf_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \ -Dprotobuf_BUILD_PROTOBUF_BINARIES=ON \ - -Dprotobuf_BUILD_LIBUPB=OFF \ -DCMAKE_OSX_ARCHITECTURES=$1 \ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 \ -DCMAKE_CXX_STANDARD=17