]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: let rbd_api depend on librbd-tp 25641/head
authorKefu Chai <kchai@redhat.com>
Thu, 20 Dec 2018 04:51:37 +0000 (12:51 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 20 Dec 2018 05:38:30 +0000 (13:38 +0800)
commit9309c24504b654bd7304af6510571b16738bc11e
tree4e719277dc805c6758ce27bd6703d5d1bd13f575
parentb6b2e7f71a04a61af63dff437b6460a91b55bf5f
cmake: let rbd_api depend on librbd-tp

whoever includes tracing/librbd.h should depends on librbd-tp.

this fix the FTBFS of:

ceph/src/librbd/librbd.cc:50:10: fatal error: tracing/librbd.h: No such
file or directory
 #include "tracing/librbd.h"
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
src/librbd/CMakeFiles/rbd_api.dir/build.make:62: recipe for target
'src/librbd/CMakeFiles/rbd_api.dir/librbd.cc.o' failed

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