Signed-off-by: Casey Bodley <cbodley@redhat.com>
rgw/rgw_xml_enc.cc)
add_library(rgw_a STATIC ${rgw_a_srcs})
-
- include_directories("${CMAKE_SOURCE_DIR}/src/civetweb/include")
+ target_include_directories(rgw_a PUBLIC "${CMAKE_SOURCE_DIR}/src/civetweb/include")
+ target_link_libraries(rgw_a librados 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 curl global expat)
set(radosgw_srcs
rgw/rgw_resolve.cc
)
target_link_libraries(test_rgw_manifest
rgw_a
- 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_kvs
- cls_user_client
- librados
- global
- curl
- expat
- ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${ALLOC_LIBS}
${UNITTEST_LIBS}
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(test_cls_rgw_meta
- librados
rgw_a
- global
- curl
- expat
- cls_version_client
- cls_log_client
- cls_statelog_client
- cls_refcount_client
- cls_rgw_client
- cls_user_client
- cls_lock_client
- cls_timeindex_client
boost_regex
${Boost_REGEX_LIBRARY}
${BLKID_LIBRARIES}
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(test_cls_rgw_log
- librados
rgw_a
global
curl
cls_rgw_client
cls_user_client
cls_lock_client
-<<<<<<< HEAD
- ${Boost_REGEX_LIBRARY}
-=======
cls_timeindex_client
- boost_regex
->>>>>>> cmake: add cls_timeindex to rgw targets
+ ${Boost_REGEX_LIBRARY}
${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${ALLOC_LIBS}
)
target_link_libraries(test_cls_rgw_opstate
rgw_a
- librados
- cls_version_client
- cls_log_client
- cls_statelog_client
- cls_timeindex_client
- cls_refcount_client
- cls_rgw_client
- cls_user_client
- cls_lock_client
- global
- curl
- expat
${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${ALLOC_LIBS}