未验证 提交 c8375f86 编写于 作者: R risemeup1 提交者: GitHub

fix windows compiler error (#54029)

上级 7c1bc000
...@@ -242,6 +242,8 @@ function(build_protobuf TARGET_NAME BUILD_FOR_HOST) ...@@ -242,6 +242,8 @@ function(build_protobuf TARGET_NAME BUILD_FOR_HOST)
set(PROTOBUF_REPOSITORY ${GIT_URL}/protocolbuffers/protobuf.git) set(PROTOBUF_REPOSITORY ${GIT_URL}/protocolbuffers/protobuf.git)
# Change the tag to support building with vs2019 # Change the tag to support building with vs2019
set(PROTOBUF_TAG 01a05a53f40ca2ac5f0af10c6cc0810bee39b792) set(PROTOBUF_TAG 01a05a53f40ca2ac5f0af10c6cc0810bee39b792)
execute_process(COMMAND cd ${SOURCE_DIR} && git checkout
01a05a53f40ca2ac5f0af10c6cc0810bee39b792)
else() else()
if(WITH_PSLIB) if(WITH_PSLIB)
set(PROTOBUF_REPOSITORY "https://github.com/google/protobuf.git") set(PROTOBUF_REPOSITORY "https://github.com/google/protobuf.git")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册