From: Oren Duer Date: Thu, 26 Jan 2017 07:48:20 +0000 (+0000) Subject: cmake: Fix broken async/rdma compilation since move to libceph-common X-Git-Tag: v12.0.0~88^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=80473bf3107d1684eb2af981e0a42bba34e36ea6;p=ceph-ci.git cmake: Fix broken async/rdma compilation since move to libceph-common Was broken since merge of pull request #12840 Signed-off-by: Oren Duer --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c9afe4100d0..0b75a5e1727 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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()