Skip to content

Commit

Permalink
Merge branch 'wip-cmake-rbd-python' into wip-mgolub-testing
Browse files Browse the repository at this point in the history
cmake: fix incorrect dependencies to librados #10145
  • Loading branch information
Mykola Golub committed Jul 6, 2016
2 parents c3b3d6d + a21b3df commit d8b39cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -544,15 +544,14 @@ add_library(librados_objs OBJECT
librados/RadosClient.cc)
add_library(librados ${CEPH_SHARED}
librados/librados.cc
$<TARGET_OBJECTS:cls_references_objs>
$<TARGET_OBJECTS:common_util_obj>
$<TARGET_OBJECTS:librados_objs>)
add_dependencies(librados osdc)
if(WITH_LTTNG)
add_dependencies(librados rados-tp)
endif()
# LINK_PRIVATE instead of PRIVATE is used to backward compatibility with cmake 2.8.11
target_link_libraries(librados LINK_PRIVATE osdc osd os global common cls_lock_client
target_link_libraries(librados LINK_PRIVATE osdc common cls_lock_client
${BLKID_LIBRARIES} ${CRYPTO_LIBS} ${EXTRALIBS})
if(ENABLE_SHARED)
set_target_properties(librados PROPERTIES
Expand Down

0 comments on commit d8b39cf

Please sign in to comment.