From: Max Kellermann Date: Mon, 7 Oct 2024 03:30:12 +0000 (+0200) Subject: CMakeLists.txt: do not compile {Objecter,Striper}.cc twice X-Git-Tag: v20.0.0~504^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=42f7383589c5e99df811adcd1a25e33d2f0a30d9;p=ceph.git CMakeLists.txt: do not compile {Objecter,Striper}.cc twice These are already part of `libceph-common`. Signed-off-by: Max Kellermann --- diff --git a/src/osdc/CMakeLists.txt b/src/osdc/CMakeLists.txt index 205ad3d4f42e..637ce3275558 100644 --- a/src/osdc/CMakeLists.txt +++ b/src/osdc/CMakeLists.txt @@ -1,9 +1,8 @@ set(osdc_files Filer.cc ObjectCacher.cc - Objecter.cc - error_code.cc - Striper.cc) + error_code.cc) +# Objecter.cc and Striper.cc are part of libcommon add_library(osdc STATIC ${osdc_files}) target_link_libraries(osdc ceph-common) if(WITH_EVENTTRACE)