Skip to content

Commit

Permalink
Fix Protobuf version clone on unix (Fix google#620).
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Mar 16, 2018
1 parent 2049239 commit 2e4c5b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion makefiles/Makefile.third_party.unix.mk
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ dependencies/sources/protobuf-$(PROTOBUF_TAG)/cmake/build/Makefile: dependencies
..

dependencies/sources/protobuf-$(PROTOBUF_TAG)/cmake/CMakeLists.txt:
git clone --quiet https://github.com/google/protobuf.git dependencies/sources/protobuf-$(PROTOBUF_TAG) && cd dependencies/sources/protobuf-$(PROTOBUF_TAG) && git checkout 3d9d1a1
git clone --quiet https://github.com/google/protobuf.git dependencies/sources/protobuf-$(PROTOBUF_TAG) && \
cd dependencies/sources/protobuf-$(PROTOBUF_TAG) && \
git checkout tags/v$(PROTOBUF_TAG) -b $(PROTOBUF_TAG)

# Install GLOG.
install_glog: dependencies/install/include/glog/logging.h
Expand Down

0 comments on commit 2e4c5b3

Please sign in to comment.