summaryrefslogtreecommitdiffstats
path: root/src/tools/rbd_nbd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rbd_nbd/CMakeLists.txt')
-rw-r--r--src/tools/rbd_nbd/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/rbd_nbd/CMakeLists.txt b/src/tools/rbd_nbd/CMakeLists.txt
new file mode 100644
index 000000000..da758f514
--- /dev/null
+++ b/src/tools/rbd_nbd/CMakeLists.txt
@@ -0,0 +1,4 @@
+find_package(nl REQUIRED genl)
+add_executable(rbd-nbd rbd-nbd.cc)
+target_link_libraries(rbd-nbd librbd librados global nl::genl)
+install(TARGETS rbd-nbd DESTINATION bin)