Fix Abseil dependency in windows protoc kokoro build (#9814)

* Adding submodule update to windows protoc build which uses CMake 3.10.1
This commit is contained in:
mkruskal-google 2022-04-20 10:50:13 -07:00 committed by GitHub
parent 654c25352e
commit f7b9886f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,11 @@ set configuration=Release
echo Building protoc
cd github\protobuf
echo Update Submodules
echo This is needed because this build uses CMake <3.13.
git submodule update --init --recursive
set ABSL_ROOT_DIR=%cd%\third_party\abseil-cpp
mkdir build32
cd build32
cmake -G "%generator32%" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_SHARED_LIBS=OFF -Dprotobuf_UNICODE=ON ../cmake