From ddbbce2f252a0ae0019ffb50a85d198e85dc1c2a Mon Sep 17 00:00:00 2001 From: Filippo Brizzi Date: Tue, 26 Mar 2024 09:11:02 +0000 Subject: [PATCH] add absl status --- modules/serdes/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/serdes/CMakeLists.txt b/modules/serdes/CMakeLists.txt index a378745d..631e8ee3 100644 --- a/modules/serdes/CMakeLists.txt +++ b/modules/serdes/CMakeLists.txt @@ -5,9 +5,10 @@ declare_module( NAME serdes DEPENDS_ON_MODULES base - DEPENDS_ON_EXTERNAL_PROJECTS magic_enum Protobuf + DEPENDS_ON_EXTERNAL_PROJECTS absl magic_enum Protobuf ) +find_package(absl REQUIRED) find_package(magic_enum REQUIRED) find_package(Protobuf REQUIRED) @@ -34,7 +35,7 @@ set(SOURCES # library target define_module_library( NAME serdes - PUBLIC_LINK_LIBS hephaestus::base magic_enum::magic_enum protobuf::libprotobuf + PUBLIC_LINK_LIBS absl::status hephaestus::base magic_enum::magic_enum protobuf::libprotobuf PRIVATE_LINK_LIBS "" SOURCES ${SOURCES} PUBLIC_INCLUDE_PATHS $ $