From c5abbcb0f041ece65fd04d2e10d32067fc79bbb3 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Sun, 31 Jul 2016 23:39:22 +0200 Subject: [PATCH] src/librbd/CMakeLists.txt: krbd and secret.c are LINUX dependant Signed-off-by: Willem Jan Withagen --- src/librbd/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/librbd/CMakeLists.txt b/src/librbd/CMakeLists.txt index a7f12a8d35dc..db9800488912 100644 --- a/src/librbd/CMakeLists.txt +++ b/src/librbd/CMakeLists.txt @@ -79,10 +79,15 @@ endif() add_library(librbd ${CEPH_SHARED} $ $ - $ - $ ${CMAKE_SOURCE_DIR}/src/common/ContextCompletion.cc librbd.cc) +if(LINUX) + list(APPEND librbd + $ + $ + ) +endif(LINUX) + target_link_libraries(librbd LINK_PRIVATE rbd_internal rbd_types -- 2.47.3