From: Yin Congmin Date: Sat, 25 Jun 2022 09:04:44 +0000 (+0800) Subject: cmake: lower the required version of libpmem to 1.8 X-Git-Tag: v18.0.0~617^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9da9c653c948773028f5e30198b1fd51f6d1e6d4;p=ceph.git cmake: lower the required version of libpmem to 1.8 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 --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 89c53ea46eb9..2dbe5a6ecccd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -491,7 +491,7 @@ if(WITH_BLUESTORE_PMEM OR WITH_RBD_RWL) 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()