]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: link librbd_test against Boost::thread 22710/head
authorKefu Chai <kchai@redhat.com>
Tue, 26 Jun 2018 11:40:35 +0000 (19:40 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 27 Jun 2018 04:53:37 +0000 (12:53 +0800)
commit10a3f15429400fdec96ddb79ff5e8043d8811c5f
treee38820cbd5a0117bf5164183061a770455777e59
parent2df0a50e07947f42d37b3c54d7dbba96f1ccbad9
cmake: link librbd_test against Boost::thread

otherwise we will have:

[ 83%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Utils.cc.o
../../../lib/librbd_test.a(test_ImageWatcher.cc.o): In function
`boost::thread::do_try_join_until(timespec const&)':
/home/kchai/ceph/build/boost/include/boost/thread/detail/thread.hpp:789:
undefined reference to
`boost::thread::do_try_join_until_noexcept(timespec const&, bool&)'
collect2: error: ld returned 1 exit status
src/test/librbd/CMakeFiles/ceph_test_librbd.dir/build.make:137: recipe
for target 'bin/ceph_test_librbd' failed
make[2]: *** [bin/ceph_test_librbd] Error 1

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