]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: Fix broken async/rdma compilation since move to libceph-common
authorOren Duer <oren@mellanox.com>
Thu, 26 Jan 2017 07:48:20 +0000 (07:48 +0000)
committerOren Duer <oren@mellanox.com>
Thu, 26 Jan 2017 09:43:26 +0000 (09:43 +0000)
Was broken since merge of pull request #12840

Signed-off-by: Oren Duer <oren@mellanox.com>
src/CMakeLists.txt

index c9afe4100d0fcd96f48d4faa899770073d4e14a5..0b75a5e17275b2a24fe58a7ea10383982fad7b36 100644 (file)
@@ -563,6 +563,9 @@ target_link_libraries(ceph-common json_spirit erasure_code rt ${LIB_RESOLV}
   ${Boost_IOSTREAMS_LIBRARY}
   ${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)
 if(NOT WITH_SYSTEM_BOOST)
   target_link_libraries(ceph-common ${ZLIB_LIBRARIES})
 endif()