mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 06:48:59 +08:00
756f184553
* [gRPC] update to v1.41.0 * update version * [upb] Update to 2021-10-19 * Update pacth * [upb] Fix upstream bug * Replace depreciate functions * version * fix code * version * revert patch format * update version * Fix review advise * update version * Remove extra spaces * update version * update version * Remove space in patch file * change patch format from CRLF to CF * update version * revert patch format * update version * revert patch format * update version * Remove unnecessary additional * update version Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index ae06ea3..8b64438 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -2180,6 +2180,8 @@ target_link_libraries(grpc
|
|
${_gRPC_UPB_LIBRARIES}
|
|
${_gRPC_ALLTARGETS_LIBRARIES}
|
|
absl::flat_hash_map
|
|
+ absl::time
|
|
+ absl::synchronization
|
|
absl::inlined_vector
|
|
absl::bind_front
|
|
absl::statusor
|
|
@@ -2733,6 +2735,8 @@ target_link_libraries(grpc_unsecure
|
|
${_gRPC_UPB_LIBRARIES}
|
|
${_gRPC_ALLTARGETS_LIBRARIES}
|
|
absl::flat_hash_map
|
|
+ absl::time
|
|
+ absl::synchronization
|
|
absl::inlined_vector
|
|
absl::bind_front
|
|
absl::statusor
|
|
diff --git a/cmake/abseil-cpp.cmake b/cmake/abseil-cpp.cmake
|
|
index c89ba26..68ae4fd 100644
|
|
--- a/cmake/abseil-cpp.cmake
|
|
+++ b/cmake/abseil-cpp.cmake
|
|
@@ -35,3 +35,6 @@ elseif(gRPC_ABSL_PROVIDER STREQUAL "package")
|
|
find_package(absl REQUIRED CONFIG)
|
|
endif()
|
|
set(_gRPC_FIND_ABSL "if(NOT TARGET absl::strings)\n find_package(absl CONFIG)\nendif()")
|
|
+ if (gRPC_ABSL_SYNC_ENABLE)
|
|
+ add_definitions(-DGPR_ABSEIL_SYNC=1)
|
|
+ endif()
|
|
\ No newline at end of file
|