]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: zbd is REQUIRED if demanded
authorKefu Chai <kchai@redhat.com>
Mon, 2 Nov 2020 13:07:11 +0000 (21:07 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 2 Nov 2020 13:08:10 +0000 (21:08 +0800)
it was broken in b1e133468f36fe7680d4967220ca42478ddf8c7f

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt

index e3a26f8bbcff112423e504b9263a804801124f89..47ad8460f557e29a79ccea77ff35195496e277e4 100644 (file)
@@ -197,7 +197,7 @@ include(CMakeDependentOption)
 CMAKE_DEPENDENT_OPTION(WITH_ZBD "Enable libzbd bluestore backend" OFF
   "WITH_BLUESTORE" OFF)
 if(WITH_ZBD)
-  find_package(zbd)
+  find_package(zbd REQUIRED)
   set(HAVE_LIBZBD ${ZBD_FOUND})
 endif()