From d5b2749f35e542291aa743efd7b68a95afa05cea Mon Sep 17 00:00:00 2001 From: Adam Kupczyk Date: Wed, 3 Jul 2024 14:17:43 +0000 Subject: [PATCH] os/bluestore: Add libfmt to "os" Using fmt::format requires libfmt for linking Signed-off-by: Adam Kupczyk (cherry picked from commit 3c5ae6c7d012a99694dcf4daddb6a5c5d9fadae4) --- src/os/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/os/CMakeLists.txt b/src/os/CMakeLists.txt index 1cd85d3b213..3354884a61b 100644 --- a/src/os/CMakeLists.txt +++ b/src/os/CMakeLists.txt @@ -47,7 +47,9 @@ if(HAVE_LIBZFS) endif() add_library(os STATIC ${libos_srcs}) -target_link_libraries(os blk) +target_link_libraries(os + blk + ${FMT_LIB}) target_link_libraries(os heap_profiler kv) -- 2.39.5