Signed-off-by: Tim Serong <tserong@suse.com>
BuildRequires: xfsprogs-devel
BuildRequires: xmlstarlet
BuildRequires: yasm
+%if 0%{with amqp_endpoint}
BuildRequires: librabbitmq-devel
+%endif
%if 0%{with make_check}
BuildRequires: jq
BuildRequires: python%{_python_buildid}-bcrypt
list(APPEND DENCODER_EXTRALIBS
rgw_a
cls_rgw_client)
+ if(WITH_RADOSGW_AMQP_ENDPOINT)
+ list(APPEND DENCODER_EXTRALIBS
+ rabbitmq)
+ endif()
endif()
if(WITH_RBD)
cls_journal_client
cls_timeindex_client
${EXTRALIBS}
- ${CMAKE_DL_LIBS}
- rabbitmq)
+ ${CMAKE_DL_LIBS})
install(TARGETS ceph-dencoder DESTINATION bin)