From: Kefu Chai Date: Tue, 9 May 2017 04:51:26 +0000 (+0800) Subject: cmake: do not link messenger tests against libos X-Git-Tag: v12.0.3~26^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=585546a26a67355afacfa718973e6885bb7ed434;p=ceph.git cmake: do not link messenger tests against libos objectstore is not used by these tests. Signed-off-by: Kefu Chai --- diff --git a/src/test/messenger/CMakeLists.txt b/src/test/messenger/CMakeLists.txt index ebdd00f2081..7981fa6d5cb 100644 --- a/src/test/messenger/CMakeLists.txt +++ b/src/test/messenger/CMakeLists.txt @@ -3,7 +3,7 @@ add_executable(simple_server simple_dispatcher.cc ) target_link_libraries(simple_server - os global ceph-common + global ceph-common ${EXTRALIBS} ${CMAKE_DL_LIBS} ) @@ -13,7 +13,7 @@ add_executable(simple_client simple_dispatcher.cc ) target_link_libraries(simple_client - os global ceph-common + global ceph-common ${EXTRALIBS} ${CMAKE_DL_LIBS} ) @@ -24,7 +24,7 @@ if(HAVE_XIO) xio_dispatcher.cc ) target_link_libraries(xio_server - os global ceph-common + global ceph-common ${XIO_LIBRARY} pthread rt ${EXTRALIBS} ${CMAKE_DL_LIBS} @@ -35,7 +35,7 @@ if(HAVE_XIO) xio_dispatcher.cc ) target_link_libraries(xio_client - os global ceph-common + global ceph-common ${XIO_LIBRARY} pthread rt ${EXTRALIBS} ${CMAKE_DL_LIBS}