aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-07 17:19:19 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-07-07 17:19:29 -0700
commit4267c86b1f7cfe20e88fe7a1eaaa4caaca8c5d77 (patch)
treedfe48fd0256c086c1f87f4d8f0984f08b40fdbe3 /ports
parentc0890d7276f8a999e2e0914de617755ecb302cb0 (diff)
downloadvcpkg-4267c86b1f7cfe20e88fe7a1eaaa4caaca8c5d77.tar.gz
vcpkg-4267c86b1f7cfe20e88fe7a1eaaa4caaca8c5d77.zip
[grpc] Use vcpkg_copy_tool_dependencies
Diffstat (limited to 'ports')
-rw-r--r--ports/grpc/CONTROL2
-rw-r--r--ports/grpc/portfile.cmake6
2 files changed, 2 insertions, 6 deletions
diff --git a/ports/grpc/CONTROL b/ports/grpc/CONTROL
index 8298a047c..280342f61 100644
--- a/ports/grpc/CONTROL
+++ b/ports/grpc/CONTROL
@@ -1,4 +1,4 @@
Source: grpc
-Version: 1.4.0
+Version: 1.4.0-1
Build-Depends: zlib, openssl, protobuf, c-ares
Description: An RPC library and framework \ No newline at end of file
diff --git a/ports/grpc/portfile.cmake b/ports/grpc/portfile.cmake
index 1da3735cc..1c2f4b7f2 100644
--- a/ports/grpc/portfile.cmake
+++ b/ports/grpc/portfile.cmake
@@ -60,11 +60,7 @@ file(GLOB TOOLS "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/*.exe")
if(TOOLS)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/grpc)
file(COPY ${TOOLS} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/grpc)
- if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- file(COPY ${CURRENT_INSTALLED_DIR}/bin/libprotobuf.dll DESTINATION ${CURRENT_PACKAGES_DIR}/tools/grpc)
- file(COPY ${CURRENT_INSTALLED_DIR}/bin/libprotoc.dll DESTINATION ${CURRENT_PACKAGES_DIR}/tools/grpc)
- file(COPY ${CURRENT_INSTALLED_DIR}/bin/zlib1.dll DESTINATION ${CURRENT_PACKAGES_DIR}/tools/grpc)
- endif()
+ vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/grpc)
endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)