From: Kefu Chai Date: Tue, 26 Jul 2016 05:41:48 +0000 (+0800) Subject: cmake: move flock.cc from libmds into libcommon X-Git-Tag: ses5-milestone5~300^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F10391%2Fhead;p=ceph.git cmake: move flock.cc from libmds into libcommon as we don't need to compile the whole mds just for building the libcephfs Signed-off-by: Kefu Chai --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 20173cb3c541..6f5273d21ea2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -314,7 +314,8 @@ list(APPEND mds_files mds/FSMap.cc mds/FSMapUser.cc mds/inode_backtrace.cc - mds/mdstypes.cc) + mds/mdstypes.cc + mds/flock.cc) set(crush_srcs crush/builder.c diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index d7f45f43402a..e3e2afabd0bf 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -8,4 +8,4 @@ set(libclient_srcs Trace.cc posix_acl.cc) add_library(client STATIC ${libclient_srcs}) -target_link_libraries(client osdc mds) +target_link_libraries(client common osdc)