aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDženan Zukić <dzenan.zukic@kitware.com>2017-02-01 12:49:09 -0500
committerDženan Zukić <dzenan.zukic@kitware.com>2017-02-01 12:49:09 -0500
commit9ee6208e02128f0d22859ffe91cb29ac49a13f17 (patch)
treed45a0f9bdcc61910e9ca5db7ccb43257f40fb6a5
parent0b2dd9bb9834664faadfabf8e3194dfb7da3c5da (diff)
downloadvcpkg-9ee6208e02128f0d22859ffe91cb29ac49a13f17.tar.gz
vcpkg-9ee6208e02128f0d22859ffe91cb29ac49a13f17.zip
Install grpc_cpp_plugin.exe into tools folder
-rw-r--r--ports/grpc/portfile.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/grpc/portfile.cmake b/ports/grpc/portfile.cmake
index ffd71d137..90915976c 100644
--- a/ports/grpc/portfile.cmake
+++ b/ports/grpc/portfile.cmake
@@ -53,6 +53,8 @@ file(RENAME ${CURRENT_PACKAGES_DIR}/lib/cmake/gRPC/gRPCTargets-release.cmake ${C
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/cmake/gRPC/gRPCTargets-debug.cmake ${CURRENT_PACKAGES_DIR}/share/grpc/gRPCTargets-debug.cmake)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/src/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/grpc RENAME copyright)
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools)
+file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/Release/grpc_cpp_plugin.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)