[google-cloud-cpp] Remove dependency to grpc when not used. (#34569)

* [google-cloud-cpp] Remove dependency to grpc when not used.

* Update version database.
This commit is contained in:
Theodore Tsirpanis 2023-10-19 21:55:20 +03:00 committed by GitHub
parent 8675d652cc
commit 03ca89f0b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View File

@ -10,7 +10,9 @@ vcpkg_from_github(
support_absl_cxx17.patch
)
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/grpc")
if ("grpc-common" IN_LIST FEATURES)
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/grpc")
endif ()
set(GOOGLE_CLOUD_CPP_ENABLE "${FEATURES}")
list(REMOVE_ITEM GOOGLE_CLOUD_CPP_ENABLE "core")

View File

@ -1,13 +1,14 @@
{
"name": "google-cloud-cpp",
"version": "2.17.0",
"port-version": 1,
"description": "C++ Client Libraries for Google Cloud Platform APIs.",
"homepage": "https://github.com/googleapis/google-cloud-cpp",
"license": "Apache-2.0",
"supports": "!uwp",
"dependencies": [
"abseil",
"grpc",
"openssl",
{
"name": "vcpkg-cmake",
"host": true

View File

@ -3006,7 +3006,7 @@
},
"google-cloud-cpp": {
"baseline": "2.17.0",
"port-version": 0
"port-version": 1
},
"google-cloud-cpp-common": {
"baseline": "alias",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "eb4b2fd7eea450ced2e6f33dcd9af1237f2de3c2",
"version": "2.17.0",
"port-version": 1
},
{
"git-tree": "cfe978bbc8c0f0e98f02aaaf2ab546f08107ce95",
"version": "2.17.0",