[grpc] Suppress build of csharp extension to fix #1117

This commit is contained in:
Robert Schumacher 2017-05-19 15:24:01 -07:00
parent 74f3d73aba
commit 93d46a9a61
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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
)