[protobuf] add support for mingw subsystem (#19054)

* [protobuf] add support for mingw subsystem

* [protobuf] support for mingw

* Update the port version

* Update the baseline version

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
This commit is contained in:
Liu Chenxin 2021-08-03 07:59:18 +08:00 committed by GitHub
parent a6ef376f0d
commit a863c84812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View File

@ -76,7 +76,7 @@ endif()
protobuf_try_remove_recurse_wait(${CURRENT_PACKAGES_DIR}/debug/share)
if(protobuf_BUILD_PROTOC_BINARIES)
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" OR NOT VCPKG_CMAKE_SYSTEM_NAME)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_copy_tools(TOOL_NAMES protoc AUTO_CLEAN)
else()
vcpkg_copy_tools(TOOL_NAMES protoc protoc-3.15.8.0 AUTO_CLEAN)

View File

@ -1,7 +1,7 @@
{
"name": "protobuf",
"version-semver": "3.15.8",
"port-version": 3,
"port-version": 4,
"description": "Protocol Buffers - Google's data interchange format",
"homepage": "https://github.com/protocolbuffers/protobuf",
"dependencies": [

View File

@ -5054,7 +5054,7 @@
},
"protobuf": {
"baseline": "3.15.8",
"port-version": 3
"port-version": 4
},
"protobuf-c": {
"baseline": "1.3.2-2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6204194eaf9d8ff0fe78d498f77fee57cd19ce59",
"version-semver": "3.15.8",
"port-version": 4
},
{
"git-tree": "88066eeef097b56edc3bff316ce292d57c132d12",
"version-semver": "3.15.8",