From: Ilya Dryomov Date: Mon, 30 Nov 2015 15:29:56 +0000 (+0100) Subject: cmake: librbd needs libjournal and libcls_journal_client X-Git-Tag: v10.0.1~11^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5ce663f1d31372adbcb0ff3726ccd942e36c66e7;p=ceph.git cmake: librbd needs libjournal and libcls_journal_client Commit 4719696cadd1 ("cmake: updates for refactored librbd IO path") fixed file lists but missed the link dependency - librbd now needs libjournal and libcls_journal_client. Signed-off-by: Ilya Dryomov --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5a52e4d0b524..ea8b769eea66 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -893,7 +893,8 @@ if(${WITH_RBD}) add_library(librbd ${CEPH_SHARED} ${librbd_srcs} $ $) - target_link_libraries(librbd PRIVATE librados common cls_lock_client cls_rbd_client + target_link_libraries(librbd PRIVATE librados common journal + cls_lock_client cls_rbd_client cls_journal_client ${CMAKE_DL_LIBS}) if(${ENABLE_SHARED}) set_target_properties(librbd PROPERTIES VERSION "1.0.0" SOVERSION "1"