From db253676fed7be7646a1a7d3de6f8f6bd3d5de1d Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 14 Jun 2017 11:38:53 +0800 Subject: [PATCH] cmake: do not link libmon with mon_common_objs ceph-common includes them already. Signed-off-by: Kefu Chai --- src/CMakeLists.txt | 5 ----- src/mon/CMakeLists.txt | 1 - 2 files changed, 6 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 668a43af8b2da..3db9348b85140 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -576,11 +576,6 @@ if(WITH_LTTNG AND WITH_EVENTTRACE) list(APPEND libcommon_files common/EventTrace.cc) endif() -set(mon_common_files - auth/AuthSessionHandler.cc - auth/cephx/CephxSessionHandler.cc - erasure-code/ErasureCodePlugin.cc) -add_library(mon_common_objs OBJECT ${mon_common_files}) set(common_mountcephfs_files common/armor.c common/safe_io.c diff --git a/src/mon/CMakeLists.txt b/src/mon/CMakeLists.txt index 06196415d7056..9e40ef58863ca 100644 --- a/src/mon/CMakeLists.txt +++ b/src/mon/CMakeLists.txt @@ -22,7 +22,6 @@ set(lib_mon_srcs ConfigKeyService.cc) add_library(mon STATIC ${lib_mon_srcs} - $ $ $) target_link_libraries(mon ${ALLOC_LIBS}) -- 2.39.5