]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/librbd/CMakeLists.txt: krbd and secret.c are LINUX dependant
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 31 Jul 2016 21:39:22 +0000 (23:39 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Mon, 29 Aug 2016 14:18:29 +0000 (16:18 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/librbd/CMakeLists.txt

index a7f12a8d35dca4d7b1e4ef40b3d37c7d7a1bb9d0..db9800488912a81b9f3c23b0e00cf23b4ef6d05c 100644 (file)
@@ -79,10 +79,15 @@ endif()
 add_library(librbd ${CEPH_SHARED}
   $<TARGET_OBJECTS:osdc_rbd_objs>
   $<TARGET_OBJECTS:common_util_obj>
-  $<TARGET_OBJECTS:krbd_objs>
-  $<TARGET_OBJECTS:parse_secret_objs>  
   ${CMAKE_SOURCE_DIR}/src/common/ContextCompletion.cc
   librbd.cc)
+if(LINUX)
+  list(APPEND librbd 
+    $<TARGET_OBJECTS:parse_secret_objs>  
+    $<TARGET_OBJECTS:krbd_objs>
+    )
+endif(LINUX)
+
 target_link_libraries(librbd LINK_PRIVATE 
   rbd_internal
   rbd_types