diff options
| author | Arkady Shapkin <arkady.shapkin@gmail.com> | 2017-07-07 16:29:57 +0300 |
|---|---|---|
| committer | Arkady Shapkin <arkady.shapkin@gmail.com> | 2017-07-07 16:29:57 +0300 |
| commit | c0890d7276f8a999e2e0914de617755ecb302cb0 (patch) | |
| tree | 202d73e17acccb60b8f1f5f6c61f5f67cb424c27 | |
| parent | 7a87e919256fac941a1509b9c67b41c5298f26ac (diff) | |
| download | vcpkg-c0890d7276f8a999e2e0914de617755ecb302cb0.tar.gz vcpkg-c0890d7276f8a999e2e0914de617755ecb302cb0.zip | |
[grpc] Fix missing dll's for grpc_cpp_plugin
| -rw-r--r-- | ports/grpc/portfile.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/grpc/portfile.cmake b/ports/grpc/portfile.cmake index 3397e86dc..1da3735cc 100644 --- a/ports/grpc/portfile.cmake +++ b/ports/grpc/portfile.cmake @@ -60,6 +60,11 @@ 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() endif() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin) |
