rgw/rgw_xml_enc.cc
)
+ set(civetweb_common_files civetweb/src/civetweb.c)
+ add_library(civetweb_common_objs OBJECT ${civetweb_common_files})
+ set_property(TARGET civetweb_common_objs
+ APPEND PROPERTY COMPILE_DEFINITIONS NO_SSL_DL=1)
+
add_library(rgw_a STATIC ${rgw_a_srcs})
target_include_directories(rgw_a PUBLIC "${CMAKE_SOURCE_DIR}/src/civetweb/include")
target_link_libraries(rgw_a librados cls_rgw_client cls_refcount_client
rgw/rgw_civetweb.cc
rgw/rgw_civetweb_frontend.cc
rgw/rgw_civetweb_log.cc
- civetweb/src/civetweb.c
rgw/rgw_main.cc)
set(radosgw_admin_srcs
include/rados/rgw_file.h
DESTINATION include/rados)
- add_executable(radosgw ${radosgw_srcs} $<TARGET_OBJECTS:heap_profiler_objs>)
+ add_executable(radosgw ${radosgw_srcs} $<TARGET_OBJECTS:civetweb_common_objs>
+ $<TARGET_OBJECTS:heap_profiler_objs>)
target_link_libraries(radosgw rgw_a librados
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 ${BLKID_LIBRARIES} ${ALLOC_LIBS})
+ curl expat global fcgi resolv ssl crypto ${BLKID_LIBRARIES} ${ALLOC_LIBS})
install(TARGETS radosgw DESTINATION bin)
add_executable(radosgw-admin ${radosgw_admin_srcs} $<TARGET_OBJECTS:heap_profiler_objs>)
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 ${BLKID_LIBRARIES} ${ALLOC_LIBS})
+ curl expat global fcgi resolv ssl crypto ${BLKID_LIBRARIES} ${ALLOC_LIBS})
install(TARGETS radosgw-admin DESTINATION bin)