]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
CMake: fix cephfs test targets
authorJohn Spray <john.spray@redhat.com>
Mon, 3 Aug 2015 11:51:42 +0000 (12:51 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 3 Aug 2015 15:39:35 +0000 (16:39 +0100)
These had bad lib names.

Signed-off-by: John Spray <john.spray@redhat.com>
src/test/CMakeLists.txt

index 45cf2aae8c28d5368f52d4c4169b05792207c6dd..bc796d608a35df900be91c549231f103bdc88dc1 100644 (file)
@@ -1571,7 +1571,7 @@ if(${WITH_CEPHFS})
   set_target_properties(test_libcephfs PROPERTIES COMPILE_FLAGS
     ${UNITTEST_CXX_FLAGS})
   target_link_libraries(test_libcephfs
-    libcephfs
+    cephfs
     ${UNITTEST_LIBS}
     ${EXTRALIBS}
     ${TCMALLOC_LIBS}
@@ -1776,9 +1776,9 @@ if(${WITH_CEPHFS})
   )
   target_link_libraries(test_c_headers
     librados
-    rados
-    libcephfs
+    cephfs
     ${EXTRALIBS}
+    ${BLKID_LIBRARIES}
     ${TCMALLOC_LIBS}
     ${CMAKE_DL_LIBS}
     )