Skip to content

Commit

Permalink
CMakeLists.txt: Introduce WITH_KBRD for kernel RBD
Browse files Browse the repository at this point in the history
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
  • Loading branch information
wjwithagen committed Jan 5, 2017
1 parent 71fa695 commit 6022d01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Expand Up @@ -233,6 +233,9 @@ option(WITH_KVS "Key value store is here" ON)
# remote block storage
option(WITH_RBD "Remote block storage is here" ON)

# KERNEL remote block storage
option(WITH_KRBD "Kernel Remote block storage is here" ON)

# embedded ceph daemon static library
# NOTE: Ceph is mostly LGPL (see COPYING), which means that
# static linking brings with it restrictions. Please be sure
Expand Down Expand Up @@ -289,7 +292,7 @@ if(NOT JEMALLOC_FOUND)
CHECK_FUNCTION_EXISTS(mallinfo HAVE_MALLINFO)
endif()

if(WITH_LIBCEPHFS OR WITH_RBD)
if(WITH_LIBCEPHFS OR WITH_KRBD)
find_package(keyutils REQUIRED)
endif()

Expand Down

0 comments on commit 6022d01

Please sign in to comment.