Skip to content

Commit

Permalink
cmake: add cls libraries as radosgw dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Jun 23, 2016
1 parent bda27b4 commit d3d0a11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -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})
Expand Down

0 comments on commit d3d0a11

Please sign in to comment.