From 9da9c653c948773028f5e30198b1fd51f6d1e6d4 Mon Sep 17 00:00:00 2001 From: Yin Congmin Date: Sat, 25 Jun 2022 17:04:44 +0800 Subject: [PATCH] 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 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 89c53ea46eb93..2dbe5a6ecccda 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() -- 2.39.5