]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: link rgw_common against fmt::fmt
authorKefu Chai <tchaikov@gmail.com>
Sat, 10 Dec 2022 03:38:49 +0000 (11:38 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 10 Dec 2022 03:42:29 +0000 (11:42 +0800)
as it includes rgw_data_sync.h which in turn uses fmtlib.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/rgw/CMakeLists.txt

index 2fe0de6c6e5f96b9265da59bd439e3fd0a0a3257..62f192390bb0837dff730c203eee5d7be62c4e2e 100644 (file)
@@ -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"