From d9dc35df09696d9ffa8c950164e32d67368f64e0 Mon Sep 17 00:00:00 2001 From: risemeup1 <62429225+risemeup1@users.noreply.github.com> Date: Tue, 23 May 2023 18:48:48 +0800 Subject: [PATCH] Revert "fix windows compiler error (#54029)" This reverts commit c8375f8651ca11c100beab81740f54a018a6ea01. --- cmake/external/protobuf.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmake/external/protobuf.cmake b/cmake/external/protobuf.cmake index c6f3eb23e38..8e18bc49442 100755 --- a/cmake/external/protobuf.cmake +++ b/cmake/external/protobuf.cmake @@ -242,8 +242,6 @@ function(build_protobuf TARGET_NAME BUILD_FOR_HOST) set(PROTOBUF_REPOSITORY ${GIT_URL}/protocolbuffers/protobuf.git) # Change the tag to support building with vs2019 set(PROTOBUF_TAG 01a05a53f40ca2ac5f0af10c6cc0810bee39b792) - execute_process(COMMAND cd ${SOURCE_DIR} && git checkout - 01a05a53f40ca2ac5f0af10c6cc0810bee39b792) else() if(WITH_PSLIB) set(PROTOBUF_REPOSITORY "https://github.com/google/protobuf.git") -- GitLab