From: Haomai Wang Date: Thu, 27 Oct 2016 13:23:43 +0000 (+0800) Subject: cmake: fix typo X-Git-Tag: v11.1.0~416^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=598b664b9ff61779b921a4feb2ac901c9cfe8cab;p=ceph.git cmake: fix typo Signed-off-by: Haomai Wang --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 431a9945777d..b9865c0449e7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -558,7 +558,7 @@ endif (WITH_MGR) set(librados_config_srcs librados-config.cc) add_executable(librados-config ${librados_config_srcs}) -target_link_libraries(librados-config librados global ${BLKID_LIBRARIES} ${IBVERBS_LIBRARIES} +target_link_libraries(librados-config librados global ${BLKID_LIBRARIES} ${RDMA_LIBRARIES} ${CMAKE_DL_LIBS}) install(TARGETS librados-config DESTINATION bin) @@ -699,7 +699,7 @@ set(ceph_osd_srcs add_executable(ceph-osd ${ceph_osd_srcs} $) add_dependencies(ceph-osd erasure_code_plugins) -target_link_libraries(ceph-osd osd os global ${BLKID_LIBRARIES} ${IBVERBS_LIBRARIES}) +target_link_libraries(ceph-osd osd os global ${BLKID_LIBRARIES} ${RDMA_LIBRARIES}) if(WITH_FUSE) target_link_libraries(ceph-osd ${FUSE_LIBRARIES}) endif()