aboutsummaryrefslogtreecommitdiff
path: root/ports/google-cloud-cpp
diff options
context:
space:
mode:
authorCarlos O'Ryan <coryan@google.com>2021-10-01 19:59:54 -0400
committerGitHub <noreply@github.com>2021-10-01 16:59:54 -0700
commitee1e12048e007f7247bd27622b13803c7a124bb1 (patch)
tree4843ed7facaafbe190f378928a7a9edab1e93b31 /ports/google-cloud-cpp
parentffdc00841ceed5b37c62192d257d4c0c99f01aa0 (diff)
downloadvcpkg-ee1e12048e007f7247bd27622b13803c7a124bb1.tar.gz
vcpkg-ee1e12048e007f7247bd27622b13803c7a124bb1.zip
[google-cloud-cpp] update to latest release (v1.32.0) (#20463)
* [google-cloud-cpp] update to latest release (v1.32.0) * Update from deprecated vcpkg functions * Undo migration to `vcpkg_cmake_config_fixup()` I could not get this to work. I will ask in the discord channel because I must be using it wrong.
Diffstat (limited to 'ports/google-cloud-cpp')
-rw-r--r--ports/google-cloud-cpp/portfile.cmake11
-rw-r--r--ports/google-cloud-cpp/vcpkg.json8
2 files changed, 11 insertions, 8 deletions
diff --git a/ports/google-cloud-cpp/portfile.cmake b/ports/google-cloud-cpp/portfile.cmake
index 22a0829e5..06ff7860a 100644
--- a/ports/google-cloud-cpp/portfile.cmake
+++ b/ports/google-cloud-cpp/portfile.cmake
@@ -5,9 +5,9 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO googleapis/google-cloud-cpp
- REF v1.31.1
- SHA512 c172280cc934978505524d53bc804dc9079af21a1357f347b0bd3554d25cc2d57dec3869f1ba01f9eacaa1367feede84ae158fa3e9039b0e6bb87f7c27717bb1
- HEAD_REF master
+ REF v1.32.0
+ SHA512 ffec5a4f76fc4232f15940afea137c38f12e395d0b04cf49838e53f04ba28c151c05470191dc9648b5ae9be5bdcc5b449379b3dbb51552917625a9a87b97c8e2
+ HEAD_REF main
)
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/grpc")
@@ -16,9 +16,8 @@ set(GOOGLE_CLOUD_CPP_ENABLE "${FEATURES}")
list(REMOVE_ITEM GOOGLE_CLOUD_CPP_ENABLE "core")
list(REMOVE_ITEM GOOGLE_CLOUD_CPP_ENABLE "googleapis")
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
DISABLE_PARALLEL_CONFIGURE
OPTIONS
"-DGOOGLE_CLOUD_CPP_ENABLE=${GOOGLE_CLOUD_CPP_ENABLE}"
@@ -29,7 +28,7 @@ vcpkg_configure_cmake(
-DBUILD_TESTING=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share)
diff --git a/ports/google-cloud-cpp/vcpkg.json b/ports/google-cloud-cpp/vcpkg.json
index 430fc44f4..35cbf153b 100644
--- a/ports/google-cloud-cpp/vcpkg.json
+++ b/ports/google-cloud-cpp/vcpkg.json
@@ -1,12 +1,16 @@
{
"name": "google-cloud-cpp",
- "version": "1.31.1",
+ "version": "1.32.0",
"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"
+ "abseil",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ }
],
"default-features": [
"bigquery",