aboutsummaryrefslogtreecommitdiff
path: root/ports/google-cloud-cpp/portfile.cmake
diff options
context:
space:
mode:
authorVictor Romero Sanchez <viromer@microsoft.com>2019-01-08 15:51:24 -0800
committerVictor Romero Sanchez <viromer@microsoft.com>2019-01-08 15:51:24 -0800
commit23a62a87fd8de3b870131761204db6d095a76121 (patch)
tree4547c0cf92363677c8507073995436892298b5bd /ports/google-cloud-cpp/portfile.cmake
parent6f398da24938ac65b4a1ccee70e7196e1b790730 (diff)
parent751db7b568c3bb94084d033fd82e5b6dcd443825 (diff)
downloadvcpkg-23a62a87fd8de3b870131761204db6d095a76121.tar.gz
vcpkg-23a62a87fd8de3b870131761204db6d095a76121.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/viromer/5058
Diffstat (limited to 'ports/google-cloud-cpp/portfile.cmake')
-rw-r--r--ports/google-cloud-cpp/portfile.cmake14
1 files changed, 5 insertions, 9 deletions
diff --git a/ports/google-cloud-cpp/portfile.cmake b/ports/google-cloud-cpp/portfile.cmake
index 54fa6d483..94e227c4f 100644
--- a/ports/google-cloud-cpp/portfile.cmake
+++ b/ports/google-cloud-cpp/portfile.cmake
@@ -1,17 +1,13 @@
-if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- message(STATUS "Warning: Dynamic building not supported yet. Building static.")
- set(VCPKG_LIBRARY_LINKAGE static)
-endif()
-
include(vcpkg_common_functions)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO GoogleCloudPlatform/google-cloud-cpp
- REF v0.4.0
- SHA512 2198a7e055c37c2a0d782e2226c2cfb4009e01c36783fe23a0a32b10c7800c1998fbaea17281cb831e7b58975d1bcdb1b2bfec0a5e4fd9d08f25299b96e8893a
+ REF v0.5.0
+ SHA512 48c5f4828bc85ae2c4bfe52b5bb51ff5da6a4cd6759f819aefaf9c23d7fffeb0a10390274f0e83f030f66f59a364c05583240e426143073187f104345e0b05d5
HEAD_REF master
- PATCHES include-protobuf.patch
)
set(GOOGLEAPIS_VERSION 6a3277c0656219174ff7c345f31fb20a90b30b97)
@@ -29,7 +25,7 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
- -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=vcpkg
+ -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package
-DGOOGLE_CLOUD_CPP_ENABLE_MACOS_OPENSSL_CHECK=OFF
)