ceph/cmake/modules/Findzbc.cmake
Abutalib Aghayev ab865ca002 os/bluestore: Enable writing data to HM-SMR hard drives.
Signed-off-by: Abutalib Aghayev <agayev@cs.cmu.edu>
2020-05-22 12:37:24 -04:00

20 lines
457 B
CMake

# - Find ZBC
#
# ZBC_INCLUDE - Where to find zbc.h
# ZBC_LIBRARIES - List of libraries when using zbc.
# ZBC_FOUND - True if zbc found.
find_path(ZBC_INCLUDE_DIR
zbc.h
HINTS $ENV{ZBC_ROOT}/libzbc
PATH_SUFFIXES libzbc)
find_library(ZBC_LIBRARIES
zbc
HINTS $ENV{ZBC_ROOT}/lib)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(zbc DEFAULT_MSG ZBC_LIBRARIES ZBC_INCLUDE_DIR)
mark_as_advanced(ZBC_INCLUDE_DIR ZBC_LIBRARIES)