]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: Added rbd-nbd target 8770/head
authorAli Maredia <amaredia@redhat.com>
Mon, 2 May 2016 16:36:44 +0000 (12:36 -0400)
committerAli Maredia <amaredia@redhat.com>
Mon, 2 May 2016 16:36:44 +0000 (12:36 -0400)
Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/CMakeLists.txt

index 62b3a4014f879b7bdcc67224d71f177b124e2dc1..bf913cd30ddb256d3c12800f44c6dc66ee7e3488 100644 (file)
@@ -1004,6 +1004,9 @@ add_library(krbd_objs OBJECT krbd.cc)
 
 if(${WITH_RBD})
   add_subdirectory(librbd)
+  
+  add_executable(rbd-nbd tools/rbd_nbd/rbd-nbd.cc)
+  target_link_libraries(rbd-nbd rbd librados global ${Boost_REGEX_LIBRARY})
 
   set(rbd_mirror_internal
     tools/rbd_mirror/ClusterWatcher.cc