Skip to content

Commit

Permalink
cmake: move flock.cc from libmds into libcommon
Browse files Browse the repository at this point in the history
as we don't need to compile the whole mds just for building the
libcephfs

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Jul 26, 2016
1 parent 8268d1b commit e92c9cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e92c9cc

Please sign in to comment.