Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: update for recent librbd changes #6715

Merged
merged 1 commit into from Nov 30, 2015
Merged

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Nov 26, 2015

Recent merge moved lots of things.

Signed-off-by: John Spray john.spray@redhat.com

@jcsp jcsp added the build/ops label Nov 26, 2015
@jcsp
Copy link
Contributor Author

jcsp commented Nov 26, 2015

(building with cmake was broken in master)

@ukernel
Copy link
Contributor

ukernel commented Nov 27, 2015

cmake still fails on my test machine. following patch fixes it.

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1e61e4f..903a222 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -908,7 +908,8 @@ if(${WITH_RBD})
   add_library(librbd ${CEPH_SHARED} ${librbd_srcs}
     $<TARGET_OBJECTS:osdc_rbd_objs>
     $<TARGET_OBJECTS:common_util_obj>)
-  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"

Recent merge moved lots of things.

Signed-off-by: John Spray <john.spray@redhat.com>
@jcsp
Copy link
Contributor Author

jcsp commented Nov 28, 2015

@ukernel -- oh right, I was only updating it far enough to let the other components build, hadn't actually been building librbd itself. Updated the PR with your change.

@dillaman dillaman self-assigned this Nov 30, 2015
dillaman pushed a commit that referenced this pull request Nov 30, 2015
cmake: update for recent librbd changes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
@dillaman dillaman merged commit a722fa2 into ceph:master Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants