Skip to content

Commit

Permalink
xio: build fixes (some unittest targets need XIO_LIBRARY)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Benjamin <[email protected]>
  • Loading branch information
mattbenjamin committed Nov 3, 2016
1 parent 2ac2ef3 commit c5aa43d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -584,14 +584,14 @@ add_executable(unittest_encoding
encoding.cc
)
add_ceph_unittest(unittest_encoding ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_encoding)
target_link_libraries(unittest_encoding common librados pthread rt m ${BLKID_LIBRARIES})
target_link_libraries(unittest_encoding common librados ${XIO_LIBRARY} pthread rt m ${BLKID_LIBRARIES})

# unittest_addrs
add_executable(unittest_addrs
test_addrs.cc
)
add_ceph_unittest(unittest_addrs ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_addrs)
target_link_libraries(unittest_addrs common librados pthread rt m ${BLKID_LIBRARIES})
target_link_libraries(unittest_addrs common librados ${XIO_LIBRARY} pthread rt m ${BLKID_LIBRARIES})

# unittest_workqueue
add_executable(unittest_workqueue
Expand Down Expand Up @@ -689,7 +689,7 @@ add_executable(unittest_xlist
test_xlist.cc
)
add_ceph_unittest(unittest_xlist ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_xlist)
target_link_libraries(unittest_xlist common)
target_link_libraries(unittest_xlist common ${XIO_LIBRARY})

# unittest_arch
add_executable(unittest_arch
Expand Down
2 changes: 1 addition & 1 deletion src/test/objectstore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ endif(HAVE_LIBAIO)
add_executable(unittest_transaction
test_transaction.cc)
add_ceph_unittest(unittest_transaction ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_transaction)
target_link_libraries(unittest_transaction os common)
target_link_libraries(unittest_transaction os common ${XIO_LIBRARY})

# unittest_memstore_clone
add_executable(unittest_memstore_clone
Expand Down

0 comments on commit c5aa43d

Please sign in to comment.