]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: add cls libraries as radosgw dependencies 9904/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 23 Jun 2016 16:54:27 +0000 (12:54 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 23 Jun 2016 16:54:27 +0000 (12:54 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/CMakeLists.txt

index d2cba247927304a6715b1e50c8b868bb3d6c105c..df103872a45b5c55c1dd914f9dbe0a0622615c14 100644 (file)
@@ -1472,6 +1472,10 @@ if(${WITH_RADOSGW})
     cls_version_client cls_replica_log_client cls_user_client
     curl expat global fcgi resolv ${OPENSSL_LIBRARIES} ${BLKID_LIBRARIES} ${OPENLDAP_LIBS}
     ${ALLOC_LIBS})
+  # radosgw depends on cls libraries at runtime, but not as link dependencies
+  add_dependencies(radosgw cls_rgw cls_lock cls_refcount
+    cls_log cls_statelog cls_timeindex
+    cls_version cls_replica_log cls_user)
   install(TARGETS radosgw DESTINATION bin)
 
   add_executable(radosgw-admin ${radosgw_admin_srcs})