cmake: Fix broken async/rdma compilation since move to libceph-common

Was broken since merge of pull request #12840

Signed-off-by: Oren Duer <oren@mellanox.com>
This commit is contained in:
Oren Duer 2017-01-26 07:48:20 +00:00
parent c443c2c7e4
commit 80473bf310

View 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()