Skip to content

Commit

Permalink
[google-cloud-cpp] fix backwards compatibility package files (microso…
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan authored Oct 15, 2021
1 parent 1ea8d69 commit 0a1d0f8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ports/google-cloud-cpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
1 change: 1 addition & 0 deletions ports/google-cloud-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2482,7 +2482,7 @@
},
"google-cloud-cpp": {
"baseline": "1.32.1",
"port-version": 0
"port-version": 1
},
"google-cloud-cpp-common": {
"baseline": "alias",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/google-cloud-cpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "793c4f8aafbed21274611812020a3a4c01517fc2",
"version": "1.32.1",
"port-version": 1
},
{
"git-tree": "42240e5f4653d8ce17158c706e232de8a57a4c6e",
"version": "1.32.1",
Expand Down

0 comments on commit 0a1d0f8

Please sign in to comment.