From: Kefu Chai Date: Sat, 10 Dec 2022 03:38:49 +0000 (+0800) Subject: cmake: link rgw_common against fmt::fmt X-Git-Tag: v18.1.0~662^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a322cb63307e14e2f5e4a5d41f33dba2d374f476;p=ceph.git cmake: link rgw_common against fmt::fmt as it includes rgw_data_sync.h which in turn uses fmtlib. Signed-off-by: Kefu Chai --- diff --git a/src/rgw/CMakeLists.txt b/src/rgw/CMakeLists.txt index 2fe0de6c6e5f..62f192390bb0 100644 --- a/src/rgw/CMakeLists.txt +++ b/src/rgw/CMakeLists.txt @@ -253,7 +253,8 @@ target_link_libraries(rgw_common PUBLIC ${LUA_LIBRARIES} RapidJSON::RapidJSON - spawn) + spawn + fmt::fmt) target_include_directories(rgw_common PUBLIC "${CMAKE_SOURCE_DIR}/src/rgw/services" PUBLIC "${CMAKE_SOURCE_DIR}/src/rgw/driver/rados"