From 18794f7ce0de2bb650b9dcb0b5f267ff20a9ae57 Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Tue, 12 Mar 2019 19:14:54 +0100 Subject: [PATCH] librgw: expose dmclock linkage As files that include librgw will fail to build with include errors otherwise Signed-off-by: Abhishek Lekshmanan (cherry picked from commit dc06e2186a9f258b8ce490489f7412556e29594a) --- src/rgw/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/rgw/CMakeLists.txt b/src/rgw/CMakeLists.txt index 747bcedb0fa6b..4f67e7b2d9760 100644 --- a/src/rgw/CMakeLists.txt +++ b/src/rgw/CMakeLists.txt @@ -302,7 +302,14 @@ target_link_libraries(rgw global ${LIB_RESOLV} ${CURL_LIBRARIES} - ${EXPAT_LIBRARIES}) + ${EXPAT_LIBRARIES} + PUBLIC + dmclock::dmclock) + +if(WITH_RADOSGW_AMQP_ENDPOINT) + target_link_libraries(rgw PRIVATE RabbitMQ::RabbitMQ) +endif() + set_target_properties(rgw PROPERTIES OUTPUT_NAME rgw VERSION 2.0.0 SOVERSION 2) install(TARGETS rgw DESTINATION ${CMAKE_INSTALL_LIBDIR}) -- 2.39.5