diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bf913cd30dd..1db3034d5d8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1005,8 +1005,10 @@ 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}) + add_executable(rbd-nbd tools/rbd_nbd/rbd-nbd.cc + $<TARGET_OBJECTS:parse_secret_objs>) + target_link_libraries(rbd-nbd librbd librados global keyutils + ${Boost_REGEX_LIBRARY}) set(rbd_mirror_internal tools/rbd_mirror/ClusterWatcher.cc |