aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2021-04-02 01:32:41 +0800
committerGitHub <noreply@github.com>2021-04-01 10:32:41 -0700
commit4fb865b8b763fe149cf3af0598f0cd80a4686d53 (patch)
treed28e4214652c21d10722d74e48c8017aeeae678e /ports
parentc72572f731931927afb979fdfae9c067b14256f4 (diff)
downloadvcpkg-4fb865b8b763fe149cf3af0598f0cd80a4686d53.tar.gz
vcpkg-4fb865b8b763fe149cf3af0598f0cd80a4686d53.zip
[protobuf] Fix deprecation warning in vcpkg_check_feature() (#16997)
* [protobuf] Fix deprecation warning in vcpkg_check_feature() * Update versions * Update keyword * Update versions/p-/protobuf.json
Diffstat (limited to 'ports')
-rw-r--r--ports/protobuf/portfile.cmake3
-rw-r--r--ports/protobuf/vcpkg.json2
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake
index 174b9617e..4628f5636 100644
--- a/ports/protobuf/portfile.cmake
+++ b/ports/protobuf/portfile.cmake
@@ -14,7 +14,8 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" protobuf_BUILD_SHARED_
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" protobuf_MSVC_STATIC_RUNTIME)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- zlib protobuf_WITH_ZLIB
+ FEATURES
+ zlib protobuf_WITH_ZLIB
)
if(VCPKG_TARGET_IS_UWP)
diff --git a/ports/protobuf/vcpkg.json b/ports/protobuf/vcpkg.json
index a33f12a64..d69019b82 100644
--- a/ports/protobuf/vcpkg.json
+++ b/ports/protobuf/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "protobuf",
"version-string": "3.14.0",
- "port-version": 3,
+ "port-version": 4,
"description": "Protocol Buffers - Google's data interchange format",
"homepage": "https://github.com/protocolbuffers/protobuf",
"dependencies": [