diff --git a/scripts/install_protobuf.sh b/scripts/install_protobuf.sh --- a/scripts/install_protobuf.sh +++ b/scripts/install_protobuf.sh @@ -10,8 +10,8 @@ pushd protobuf || exit -mkdir build -pushd build || exit +mkdir cmake-build +pushd cmake-build || exit cmake ../cmake \ -Dprotobuf_BUILD_SHARED_LIBS=ON \ @@ -20,7 +20,7 @@ make install -j "$(nproc)" -l "$(nproc)" -popd || exit # build +popd || exit # cmake-build popd || exit # protobuf rm -rf protobuf