The upgrade of pmemobj in https://github.com/ceph/ceph/pull/40493
is to introduce new API. The minimum version requirement is 1.8.
Therefore, the requirements for find_package can be lowered.
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
if(WITH_RBD_RWL)
list(APPEND pmem_COMPONENTS pmemobj)
endif()
- find_package(pmem 1.10 REQUIRED COMPONENTS ${pmem_COMPONENTS})
+ find_package(pmem 1.8 REQUIRED COMPONENTS ${pmem_COMPONENTS})
else()
include(Buildpmem)
build_pmem()