From 3dcca929c89594a00e18cd97b25db3afb36375e3 Mon Sep 17 00:00:00 2001 From: Rodrigo Reichert Date: Wed, 14 May 2025 23:56:38 +1000 Subject: [PATCH] Abseil fixup --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a493772..0f11053 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,9 @@ set(ABSL_PROPAGATE_CXX_STD ON) find_package(Python3 REQUIRED COMPONENTS Development Interpreter) find_package(Protobuf REQUIRED) -add_subdirectory(third_party/abseil-cpp) +if (NOT TARGET absl::base) + add_subdirectory(third_party/abseil-cpp) +endif() add_subdirectory(third_party/pybind11) add_library(pybind11_protobuf