Skip to content

Commit

Permalink
Disable some targets added by grpc CMake.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 605040417
Change-Id: If06eb438cbf85ca1a63e037d38f1f882e154c9d9
  • Loading branch information
nimrod-gileadi authored and copybara-github committed Feb 7, 2024
1 parent 9f2875b commit 3350d36
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mjpc/grpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ set(BUILD_SHARED_LIBS

find_package(ZLIB REQUIRED)
set(gRPC_ZLIB_PROVIDER "package" CACHE INTERNAL "")
set(gRPC_BUILD_GRPC_CSHARP_PLUGIN OFF)
set(gRPC_BUILD_GRPC_NODE_PLUGIN OFF)
set(gRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN OFF)
set(gRPC_BUILD_GRPC_PHP_PLUGIN OFF)
set(gRPC_BUILD_GRPC_RUBY_PLUGIN OFF)
set(RE2_BUILD_TESTING OFF)
set(ZLIB_BUILD_EXAMPLES OFF)

findorfetch(
Expand Down

0 comments on commit 3350d36

Please sign in to comment.