issue: 965984
Change-Id: I2e401acf204069d3907001d276c58d9fb4cd0d58
Signed-off-by: Oren Duer <oren@mellanox.com>
${BLKID_LIBRARIES} ${Backtrace_LIBRARIES}
${CRYPTO_LIBS} ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
if(HAVE_RDMA)
- target_link_libraries(ceph-common ${RDMA_LIBRARY})
-endif(HAVE_RDMA)
+ list(APPEND ceph_common_deps ${RDMA_LIBRARY})
+endif()
if(NOT WITH_SYSTEM_BOOST)
list(APPEND ceph_common_deps ${ZLIB_LIBRARIES})
endif()