diff options
| author | Carlos O'Ryan <coryan@google.com> | 2021-10-14 21:08:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-14 18:08:50 -0700 |
| commit | 0a1d0f84f7ce0ea3432fa6d928a2137b43861d45 (patch) | |
| tree | 3919bb75a101662dc1ea85ccfe52661b670f100c /ports/google-cloud-cpp | |
| parent | 1ea8d69f882634cf780867bf714b991906f4dc2a (diff) | |
| download | vcpkg-0a1d0f84f7ce0ea3432fa6d928a2137b43861d45.tar.gz vcpkg-0a1d0f84f7ce0ea3432fa6d928a2137b43861d45.zip | |
[google-cloud-cpp] fix backwards compatibility package files (#20723)
Diffstat (limited to 'ports/google-cloud-cpp')
| -rw-r--r-- | ports/google-cloud-cpp/portfile.cmake | 4 | ||||
| -rw-r--r-- | ports/google-cloud-cpp/vcpkg.json | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/google-cloud-cpp/portfile.cmake b/ports/google-cloud-cpp/portfile.cmake index b8e1012af..08caef6dd 100644 --- a/ports/google-cloud-cpp/portfile.cmake +++ b/ports/google-cloud-cpp/portfile.cmake @@ -63,8 +63,8 @@ foreach(package pubsub_client spanner_client storage_client) - set(config_path "lib/cmake/google_cloud_cpp_${suffix}") - if(NOT IS_DIRECTORY "${config_path}") + set(config_path "lib/cmake/${package}") + if(NOT IS_DIRECTORY "${CURRENT_PACKAGES_DIR}/${config_path}") continue() endif() vcpkg_cmake_config_fixup(PACKAGE_NAME "${package}" diff --git a/ports/google-cloud-cpp/vcpkg.json b/ports/google-cloud-cpp/vcpkg.json index 1ef1ea448..b88bfe428 100644 --- a/ports/google-cloud-cpp/vcpkg.json +++ b/ports/google-cloud-cpp/vcpkg.json @@ -1,6 +1,7 @@ { "name": "google-cloud-cpp", "version": "1.32.1", + "port-version": 1, "description": "C++ Client Libraries for Google Cloud Platform APIs.", "homepage": "https://github.com/googleapis/google-cloud-cpp", "license": "Apache-2.0", |
