Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3537200
D4625.id14885.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D4625.id14885.diff
View Options
diff --git a/services/blob/CMakeLists.txt b/services/blob/CMakeLists.txt
--- a/services/blob/CMakeLists.txt
+++ b/services/blob/CMakeLists.txt
@@ -15,18 +15,22 @@
set(WITH_GTEST "Use Google Test" OFF)
# FIND LIBS
-include(./cmake-components/grpc.cmake)
include(./cmake-components/folly.cmake)
find_package(AWSSDK REQUIRED COMPONENTS s3 core dynamodb)
find_package(Boost 1.40 COMPONENTS program_options REQUIRED)
-find_package(OpenSSL REQUIRED)
FetchContent_Declare(
glog
GIT_REPOSITORY https://github.com/google/glog.git
GIT_TAG 96a2f23dca4cc7180821ca5f32e526314395d26a # v0.4.0
)
-FetchContent_MakeAvailable(glog)
+FetchContent_Declare(
+ gRPC
+ GIT_REPOSITORY https://github.com/grpc/grpc.git
+ GIT_TAG 2d6b8f61cfdd1c4d2d7c1aae65a4fbf00e3e0981 # v1.39.1
+)
+
+FetchContent_MakeAvailable(glog gRPC)
# FIND FILES
file(GLOB DOUBLE_CONVERSION_SOURCES
@@ -64,11 +68,10 @@
set(
LIBS
- ${GRPC_LIBS}
${AWSSDK_LINK_LIBRARIES}
${Boost_LIBRARIES}
- OpenSSL::SSL
glog
+ grpc++
)
target_link_libraries(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 8:27 PM (11 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2708432
Default Alt Text
D4625.id14885.diff (1 KB)
Attached To
Mode
D4625: [blob] Use `FetchContent_Declare` to pull in `gRPC`
Attached
Detach File
Event Timeline
Log In to Comment