diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-19 15:24:22 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-19 15:24:22 -0700 |
| commit | 610741ee9106f4e504d591cf56371a54decd2614 (patch) | |
| tree | 9de67083bad96fdc16019e841419a91cb67f7cef | |
| parent | 93d46a9a612d2c09b3861532ed427a197da887be (diff) | |
| download | vcpkg-610741ee9106f4e504d591cf56371a54decd2614.tar.gz vcpkg-610741ee9106f4e504d591cf56371a54decd2614.zip | |
[grpc] Commit missed patch file.
| -rw-r--r-- | ports/grpc/disable-csharp-ext.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ports/grpc/disable-csharp-ext.patch b/ports/grpc/disable-csharp-ext.patch new file mode 100644 index 000000000..6cb9090ab --- /dev/null +++ b/ports/grpc/disable-csharp-ext.patch @@ -0,0 +1,31 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c85a20a..99b2897 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3694,6 +3694,7 @@ target_link_libraries(qps + + endif (gRPC_BUILD_TESTS) + ++option(gRPC_INSTALL_CSHARP_EXT "" ON) + add_library(grpc_csharp_ext SHARED + src/csharp/ext/grpc_csharp_ext.c + ) +@@ -3702,7 +3703,7 @@ if(WIN32 AND MSVC) + set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" + COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" + ) +- if (gRPC_INSTALL) ++ if (gRPC_INSTALL AND gRPC_INSTALL_CSHARP_EXT) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb + DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL + ) +@@ -3728,8 +3729,7 @@ target_link_libraries(grpc_csharp_ext + ) + + +- +-if (gRPC_INSTALL) ++if (gRPC_INSTALL AND gRPC_INSTALL_CSHARP_EXT) + install(TARGETS grpc_csharp_ext EXPORT gRPCTargets + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
