vcpkg/ports/offscale-libetcd-cpp/fix-dependency-grpc.patch
Jack·Boos·Yu c75f0b32a6
[grpc] Update to 1.29.1 (#11791)
* [grpc] Update to 1.29.1

* re-fix uwp build

* re-fix dependency upb

* [offscale-libetcd-cpp] Fix dependency grpc
2020-06-23 14:36:26 -07:00

14 lines
609 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d9aad9..d68c5f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,7 +70,7 @@ endif()
target_include_directories(etcdcpp PRIVATE "generated/")
target_include_directories(etcdcpp INTERFACE "${CMAKE_INSTALL_PREFIX}/include")
-target_link_libraries(etcdcpp PRIVATE gRPC::gpr gRPC::grpc gRPC::grpc++ gRPC::grpc_cronet)
+target_link_libraries(etcdcpp PRIVATE gRPC::gpr gRPC::grpc gRPC::grpc++ gRPC::grpc++_alts)
target_link_libraries(etcdcpp PRIVATE protobuf::libprotoc protobuf::libprotobuf)
install(TARGETS etcdcpp EXPORT etcdcpp DESTINATION lib)