2020-03-08 22:32:32 +01:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index f6de091a0c..d21e04a24d 100644
|
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-02-20 20:25:12 +01:00
|
|
|
@@ -301,7 +301,7 @@ if(UNIX)
|
|
|
|
find_package(Threads)
|
|
|
|
set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m Threads::Threads)
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX)
|
|
|
|
- set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} rt)
|
|
|
|
+ set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES})
|
|
|
|
endif()
|
2017-07-11 11:50:43 +02:00
|
|
|
endif()
|
|
|
|
|
2020-03-08 22:32:32 +01:00
|
|
|
@@ -1432,12 +1432,6 @@ target_link_libraries(gpr
|
|
|
|
absl::strings
|
|
|
|
absl::optional
|
2018-05-25 12:43:31 +02:00
|
|
|
)
|
2020-03-08 22:32:32 +01:00
|
|
|
-if(_gRPC_PLATFORM_ANDROID)
|
2018-05-25 12:43:31 +02:00
|
|
|
- target_link_libraries(gpr
|
|
|
|
- android
|
|
|
|
- log
|
|
|
|
- )
|
2020-03-08 22:32:32 +01:00
|
|
|
-endif()
|
2018-05-25 12:43:31 +02:00
|
|
|
|
|
|
|
foreach(_hdr
|
|
|
|
include/grpc/support/alloc.h
|