diff --git a/CMakeLists.txt b/CMakeLists.txt index 6575a2ce..3ffa6f08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,9 +24,6 @@ add_subdirectory(third_party) find_package(Protobuf QUIET CONFIG) if(NOT ${Protobuf_FOUND}) - find_package(absl REQUIRED) - include_directories(${absl_INCLUDE_DIRS}) - find_package(Protobuf REQUIRED) include_directories(${Protobuf_INCLUDE_DIRS}) endif() diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 06fdee18..6ace2da8 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -1,5 +1,8 @@ # SPDX-License-Identifier: Apache-2.0 +set(ABSL_PROPAGATE_CXX_STD ON) +add_subdirectory(abseil-cpp) + set(BUILD_TZ_LIB ON) add_subdirectory(datetime)