diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/protobuf/portfile.cmake | 2 | ||||
| -rw-r--r-- | ports/protobuf/vcpkg.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake index 8f7c3b119..a645866c9 100644 --- a/ports/protobuf/portfile.cmake +++ b/ports/protobuf/portfile.cmake @@ -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) diff --git a/ports/protobuf/vcpkg.json b/ports/protobuf/vcpkg.json index 0e85e376c..40b557dd3 100644 --- a/ports/protobuf/vcpkg.json +++ b/ports/protobuf/vcpkg.json @@ -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": [ |
