Page MenuHomePhabricator

D4625.id14888.diff
No OneTemporary

D4625.id14888.diff

diff --git a/services/blob/CMakeLists.txt b/services/blob/CMakeLists.txt
--- a/services/blob/CMakeLists.txt
+++ b/services/blob/CMakeLists.txt
@@ -9,24 +9,28 @@
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
-set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD 14)
set(BUILD_TESTING OFF CACHE BOOL "Turn off tests" FORCE)
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 v1.48.0
+)
+
+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

Mime Type
text/plain
Expires
Thu, Dec 26, 7:27 PM (9 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2708258
Default Alt Text
D4625.id14888.diff (1 KB)

Event Timeline