diff --git a/src/XrdCeph.cmake b/src/XrdCeph.cmake index bb70427cc70..ace2f5921f5 100644 --- a/src/XrdCeph.cmake +++ b/src/XrdCeph.cmake @@ -15,6 +15,11 @@ add_library( SHARED XrdCeph/XrdCephPosix.cc XrdCeph/XrdCephPosix.hh ) +# needed during the transition between ceph giant and ceph hammer +# for object listing API +set_property(SOURCE XrdCeph/XrdCephPosix.cc + PROPERTY COMPILE_FLAGS " -Wno-deprecated-declarations") + target_link_libraries( XrdCephPosix ${RADOS_LIBS} )