aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-05-19 15:24:01 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-05-19 15:24:01 -0700
commit93d46a9a612d2c09b3861532ed427a197da887be (patch)
tree3512563d530d020beacc806c4cc8a37c15815e35
parent74f3d73aba5e0ebb99ce23d686213f2927bdd8c9 (diff)
downloadvcpkg-93d46a9a612d2c09b3861532ed427a197da887be.tar.gz
vcpkg-93d46a9a612d2c09b3861532ed427a197da887be.zip
[grpc] Suppress build of csharp extension to fix #1117
-rw-r--r--ports/grpc/CONTROL2
-rw-r--r--ports/grpc/portfile.cmake5
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/grpc/CONTROL b/ports/grpc/CONTROL
index 3b2df7d1f..47290a0d3 100644
--- a/ports/grpc/CONTROL
+++ b/ports/grpc/CONTROL
@@ -1,4 +1,4 @@
Source: grpc
-Version: 1.3.1
+Version: 1.3.1-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 816dff17c..10e79cd55 100644
--- a/ports/grpc/portfile.cmake
+++ b/ports/grpc/portfile.cmake
@@ -20,7 +20,9 @@ vcpkg_from_github(
# Issue: https://github.com/grpc/grpc/issues/10759
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
- PATCHES ${CMAKE_CURRENT_LIST_DIR}/revert-c019e05.patch
+ PATCHES
+ ${CMAKE_CURRENT_LIST_DIR}/revert-c019e05.patch
+ ${CMAKE_CURRENT_LIST_DIR}/disable-csharp-ext.patch
)
if(VCPKG_CRT_LINKAGE STREQUAL static)
@@ -42,6 +44,7 @@ vcpkg_configure_cmake(
-DgRPC_CARES_PROVIDER=package
-DgRPC_GFLAGS_PROVIDER=none
-DgRPC_BENCHMARK_PROVIDER=none
+ -DgRPC_INSTALL_CSHARP_EXT=OFF
-DCMAKE_INSTALL_CMAKEDIR=share/grpc
)