Skip to content

Commit

Permalink
cmake: Fix build against ncurses with separate libtinfo
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
  • Loading branch information
Lars Wendler committed Apr 11, 2019
1 parent 441a316 commit b7bf406
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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
Expand Down Expand Up @@ -52,7 +55,7 @@ target_link_libraries(rbd librbd librados
cls_journal_client cls_rbd_client
rbd_types
journal
ceph-common global ncurses
ceph-common global ${CURSES_LIBRARIES}
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
if(WITH_KRBD)
target_link_libraries(rbd
Expand Down

0 comments on commit b7bf406

Please sign in to comment.