From 585546a26a67355afacfa718973e6885bb7ed434 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 9 May 2017 12:51:26 +0800 Subject: [PATCH] cmake: do not link messenger tests against libos objectstore is not used by these tests. Signed-off-by: Kefu Chai --- src/test/messenger/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/messenger/CMakeLists.txt b/src/test/messenger/CMakeLists.txt index ebdd00f20816..7981fa6d5cbf 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} -- 2.47.3