]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: fix the build of test_rados_api_list 8438/head
authorKefu Chai <kchai@redhat.com>
Tue, 5 Apr 2016 06:19:55 +0000 (14:19 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 5 Apr 2016 06:22:03 +0000 (14:22 +0800)
the libglobal linkage was added in 769c0af, so add it to cmake
accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/CMakeLists.txt

index def49d5c169f533e99e9408859c79c8bb2557f60..1dcdcfc8924f3be1ff49800b81b991059832fd7c 100644 (file)
@@ -1850,7 +1850,7 @@ add_executable(test_rados_api_list
 set_target_properties(test_rados_api_list PROPERTIES COMPILE_FLAGS
   ${UNITTEST_CXX_FLAGS})
 target_link_libraries(test_rados_api_list
-  librados ${UNITTEST_LIBS} radostest)
+  librados global ${UNITTEST_LIBS} radostest)
 
 add_executable(test_rados_api_nlist
   librados/nlist.cc