target_include_directories(rgw_a PUBLIC ${FCGI_INCLUDE_DIR})
target_link_libraries(rgw_a librados cls_lock_client cls_rgw_client cls_refcount_client
cls_log_client cls_statelog_client cls_timeindex_client cls_version_client
- cls_replica_log_client cls_user_client common common_utf8 curl global expat
+ cls_replica_log_client cls_user_client common common_utf8 global
+ ${CURL_LIBRARIES}
+ ${EXPAT_LIBRARIES}
${OPENLDAP_LIBRARIES} ${CRYPTO_LIBS})
set(radosgw_srcs
cls_rgw_client cls_lock_client cls_refcount_client
cls_log_client cls_statelog_client cls_timeindex_client
cls_version_client cls_replica_log_client cls_user_client
- curl expat global fcgi resolv ${SSL_LIBRARIES} ${BLKID_LIBRARIES}
+ global fcgi resolv
+ ${CURL_LIBRARIES} ${EXPAT_LIBRARIES} ${SSL_LIBRARIES} ${BLKID_LIBRARIES}
${ALLOC_LIBS})
# radosgw depends on cls libraries at runtime, but not as link dependencies
add_dependencies(radosgw cls_rgw cls_lock cls_refcount
cls_rgw_client cls_lock_client cls_refcount_client
cls_log_client cls_statelog_client cls_timeindex_client
cls_version_client cls_replica_log_client cls_user_client
- curl expat global fcgi resolv ${SSL_LIBRARIES} ${BLKID_LIBRARIES})
+ global fcgi resolv
+ ${CURL_LIBRARIES} ${EXPAT_LIBRARIES} ${SSL_LIBRARIES} ${BLKID_LIBRARIES})
install(TARGETS radosgw-admin DESTINATION bin)
set(radosgw_token_srcs
cls_rgw_client cls_lock_client cls_refcount_client
cls_log_client cls_statelog_client cls_timeindex_client
cls_version_client cls_replica_log_client cls_user_client
- curl expat global fcgi resolv)
+ global fcgi resolv
+ ${CURL_LIBRARIES} ${EXPAT_LIBRARIES})
install(TARGETS radosgw-object-expirer DESTINATION bin)
set(librgw_srcs
cls_version_client
cls_replica_log_client
cls_user_client
- curl expat global
- resolv)
+ global
+ resolv
+ ${CURL_LIBRARIES}
+ ${EXPAT_LIBRARIES})
set_target_properties(rgw PROPERTIES OUTPUT_NAME rgw VERSION 2.0.0
SOVERSION 1)
install(TARGETS rgw DESTINATION ${CMAKE_INSTALL_LIBDIR})
# From src/test/Makefile-client.am: I dont get this one... testing the osdc build but link in libcephfs?
add_executable(test_build_libcephfs buildtest_skeleton.cc)
-target_link_libraries(test_build_libcephfs cephfs expat pthread ${CRYPTO_LIBS} ${EXTRALIBS})
+target_link_libraries(test_build_libcephfs cephfs pthread ${CRYPTO_LIBS} ${EXTRALIBS})
add_executable(test_build_librados buildtest_skeleton.cc)
target_link_libraries(test_build_librados librados pthread ${CRYPTO_LIBS} ${EXTRALIBS} osdc osd os common cls_lock_client ${BLKID_LIBRARIES})
librados
rgw_a
global
- curl
- expat
${BLKID_LIBRARIES}
+ ${CURL_LIBRARIES}
+ ${EXPAT_LIBRARIES}
${CMAKE_DL_LIBS} ${UNITTEST_LIBS})
set_target_properties(test_cors PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})
librados
rgw_a
global
- curl
- expat
cls_version_client
cls_log_client
cls_statelog_client
cls_lock_client
${Boost_REGEX_LIBRARY}
${BLKID_LIBRARIES}
+ ${CURL_LIBRARIES}
+ ${EXPAT_LIBRARIES}
${CMAKE_DL_LIBS} ${UNITTEST_LIBS} ${CRYPTO_LIBS})
set_target_properties(ceph_test_cls_rgw_meta PROPERTIES
COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
librados
rgw_a
global
- curl
- expat
cls_version_client
cls_log_client
cls_statelog_client
cls_lock_client
${Boost_REGEX_LIBRARY}
${BLKID_LIBRARIES}
+ ${CURL_LIBRARIES}
+ ${EXPAT_LIBRARIES}
${CMAKE_DL_LIBS}
${UNITTEST_LIBS}
${EXTRALIBS}
cls_user_client
cls_lock_client
global
- curl
- expat
${BLKID_LIBRARIES}
+ ${CURL_LIBRARIES}
+ ${EXPAT_LIBRARIES}
${CMAKE_DL_LIBS}
${UNITTEST_LIBS}
${CRYPTO_LIBS}