From 406764206e927a1259e216da8ea15942989b3804 Mon Sep 17 00:00:00 2001 From: Oraoto Date: Fri, 25 Jan 2019 11:02:10 +0800 Subject: [PATCH] Use latest protobuf 3.1.x in Windows. (#522) Git tag 9f69353562fe is the last commit in protobuf 3.1.x. --- cmake/external/protobuf.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/external/protobuf.cmake b/cmake/external/protobuf.cmake index ec687ac7..c743e7b1 100644 --- a/cmake/external/protobuf.cmake +++ b/cmake/external/protobuf.cmake @@ -184,7 +184,8 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST) ${EXTERNAL_PROJECT_LOG_ARGS} PREFIX ${PROTOBUF_SOURCES_DIR} UPDATE_COMMAND "" - URL https://github.com/google/protobuf/archive/v3.1.0.zip + GIT_REPOSITORY "https://github.com/google/protobuf.git" + GIT_TAG "9f69353562fe1fbb3fbd11345ea3676b0eb267cd" CONFIGURE_COMMAND ${CMAKE_COMMAND} ${PROTOBUF_SOURCES_DIR}/src/${TARGET_NAME}/cmake ${OPTIONAL_ARGS} -- GitLab