- FreeBSD does not have keyutils or any kernel type security store
So using secret.c is not really relevant here
- Have common/secret.c depend on KEYUTILS_FOUND
- This also excludes building mount.cephfs,
Next to the fact that this is 100% linux bases mount stuff
- krbd is the Linux kernel version for RBD based disks, but again
completely Linux based and porting to FreeBSD, if any, has to follow
a different route
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
add_subdirectory(bash_completion)
-set(parse_secret_files
- common/secret.c)
-add_library(parse_secret_objs OBJECT ${parse_secret_files})
+if(KEYUTILS_FOUND)
+ set(parse_secret_files
+ common/secret.c)
+ add_library(parse_secret_objs OBJECT ${parse_secret_files})
+endif()
if(WITH_LIBCEPHFS)
add_subdirectory(client)
add_subdirectory(journal)
-add_library(krbd_objs OBJECT krbd.cc)
+if(LINUX)
+ add_library(krbd_objs OBJECT krbd.cc)
+endif()
if(${WITH_RBD})
add_subdirectory(librbd)