From: Kefu Chai Date: Mon, 10 Oct 2022 12:22:55 +0000 (+0800) Subject: cmake: do not link ceph-dencoder against global X-Git-Tag: v18.1.0~1030^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48418%2Fhead;p=ceph.git cmake: do not link ceph-dencoder against global it does not use any symbol from global, so no need to link it against global. Signed-off-by: Kefu Chai --- diff --git a/src/tools/ceph-dencoder/CMakeLists.txt b/src/tools/ceph-dencoder/CMakeLists.txt index 4bfd74b61cca..6ce2517d7c8d 100644 --- a/src/tools/ceph-dencoder/CMakeLists.txt +++ b/src/tools/ceph-dencoder/CMakeLists.txt @@ -96,7 +96,7 @@ target_compile_definitions(ceph-dencoder PRIVATE target_link_libraries(ceph-dencoder StdFilesystem::filesystem - global + ceph-common ${DENCODER_EXTRALIBS} cls_log_client cls_version_client