From 0dde6e473d44e44cf7f502977dd6006e4b073319 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sun, 20 Oct 2024 13:35:56 -0700 Subject: [PATCH] Use CMake for protoc build --- build-protoc.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build-protoc.sh b/build-protoc.sh index 7dfbd37..6841338 100755 --- a/build-protoc.sh +++ b/build-protoc.sh @@ -1,6 +1,7 @@ #!/bin/bash pushd subprojects/protobuf -./configure -make -make install -make distclean +mkdir -p build-native && cd build-native +cmake .. -G Ninja +ninja +ninja install +popd