2020-10-20 10:15:04 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2021-11-12 03:34:39 +08:00
|
|
|
index ae06ea3..8b64438 100644
|
2020-10-20 10:15:04 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2021-11-12 03:34:39 +08:00
|
|
|
@@ -2180,6 +2180,8 @@ target_link_libraries(grpc
|
2021-04-29 04:24:37 +08:00
|
|
|
${_gRPC_UPB_LIBRARIES}
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES}
|
|
|
|
absl::flat_hash_map
|
2020-10-20 10:15:04 +08:00
|
|
|
+ absl::time
|
|
|
|
+ absl::synchronization
|
2021-04-29 04:24:37 +08:00
|
|
|
absl::inlined_vector
|
|
|
|
absl::bind_front
|
2021-04-24 01:40:07 +08:00
|
|
|
absl::statusor
|
2021-11-12 03:34:39 +08:00
|
|
|
@@ -2733,6 +2735,8 @@ target_link_libraries(grpc_unsecure
|
|
|
|
${_gRPC_UPB_LIBRARIES}
|
2021-04-29 04:24:37 +08:00
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES}
|
|
|
|
absl::flat_hash_map
|
2020-10-20 10:15:04 +08:00
|
|
|
+ absl::time
|
|
|
|
+ absl::synchronization
|
2021-11-12 03:34:39 +08:00
|
|
|
absl::inlined_vector
|
|
|
|
absl::bind_front
|
2021-04-29 04:24:37 +08:00
|
|
|
absl::statusor
|
2020-10-20 10:15:04 +08:00
|
|
|
diff --git a/cmake/abseil-cpp.cmake b/cmake/abseil-cpp.cmake
|
2021-11-12 03:34:39 +08:00
|
|
|
index c89ba26..68ae4fd 100644
|
2020-10-20 10:15:04 +08:00
|
|
|
--- a/cmake/abseil-cpp.cmake
|
|
|
|
+++ b/cmake/abseil-cpp.cmake
|
2021-11-12 03:34:39 +08:00
|
|
|
@@ -35,3 +35,6 @@ elseif(gRPC_ABSL_PROVIDER STREQUAL "package")
|
2020-10-20 10:15:04 +08:00
|
|
|
find_package(absl REQUIRED CONFIG)
|
2021-11-12 03:34:39 +08:00
|
|
|
endif()
|
|
|
|
set(_gRPC_FIND_ABSL "if(NOT TARGET absl::strings)\n find_package(absl CONFIG)\nendif()")
|
2020-10-20 10:15:04 +08:00
|
|
|
+ if (gRPC_ABSL_SYNC_ENABLE)
|
|
|
|
+ add_definitions(-DGPR_ABSEIL_SYNC=1)
|
|
|
|
+ endif()
|
2021-11-12 03:34:39 +08:00
|
|
|
\ No newline at end of file
|