mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 19:17:10 +01:00

* [grpc] Update grpc to 1.24.0 * [grpc] Update grpc to 1.24.3 * Disable error C4146 on uwp C4146: unary minus operator applied to unsigned type, result still unsigned
35 lines
946 B
Diff
35 lines
946 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index a7fdb1fcd5..ae3bf61daf 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -4806,7 +4806,7 @@ if (gRPC_INSTALL)
|
|
endif()
|
|
|
|
|
|
-if (gRPC_BUILD_CODEGEN)
|
|
+if (gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE)
|
|
add_library(grpcpp_channelz
|
|
src/cpp/server/channelz/channelz_service.cc
|
|
src/cpp/server/channelz/channelz_service_plugin.cc
|
|
@@ -4865,7 +4865,7 @@ foreach(_hdr
|
|
endforeach()
|
|
|
|
|
|
-if (gRPC_BUILD_CODEGEN)
|
|
+if (gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE)
|
|
|
|
if (gRPC_INSTALL)
|
|
install(TARGETS grpcpp_channelz EXPORT gRPCTargets
|
|
@@ -4874,9 +4874,9 @@ if (gRPC_INSTALL)
|
|
ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
|
|
)
|
|
endif()
|
|
-endif (gRPC_BUILD_CODEGEN)
|
|
+endif (gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE)
|
|
|
|
-endif (gRPC_BUILD_CODEGEN)
|
|
+endif (gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE)
|
|
if (gRPC_BUILD_TESTS)
|
|
|
|
if (gRPC_BUILD_CODEGEN)
|