This is a gentoo overlay hosting either customized ebuilds I have in use as well as ebuilds for my own projects.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
573 B

diff --git a/src/tools/rbd/CMakeLists.txt b/src/tools/rbd/CMakeLists.txt
index 7aa42e9efd..66186b159f 100644
--- a/src/tools/rbd/CMakeLists.txt
+++ b/src/tools/rbd/CMakeLists.txt
@@ -1,3 +1,6 @@
+set(CURSES_NEED_NCURSES TRUE)
+find_package(Curses REQUIRED)
+
set(rbd_srcs
rbd.cc
ArgumentTypes.cc
@@ -46,7 +49,7 @@ target_link_libraries(rbd librbd librados
cls_journal_client cls_rbd_client
rbd_types
journal
- ceph-common global
+ ceph-common global ${CURSES_LIBRARIES}
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
if(WITH_KRBD)
target_link_libraries(rbd