diff options
author | Kefu Chai <kchai@redhat.com> | 2021-07-31 05:19:26 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2021-07-31 05:24:58 +0200 |
commit | 8de47b212bafa38f73a4ceaadeecfe4b3dd53497 (patch) | |
tree | d621f9b2558bf5834533468ff85974da71c3740f /CMakeLists.txt | |
parent | Merge pull request #42266 from dang/wip-dang-zipper-raw_obj (diff) | |
download | ceph-8de47b212bafa38f73a4ceaadeecfe4b3dd53497.tar.xz ceph-8de47b212bafa38f73a4ceaadeecfe4b3dd53497.zip |
librbd/crypto/luks: require libcryptsetup v2.0.5
- ubuntu focal ships libcryptsetup-dev (2:2.2.2),
- centos 8 app stream comes with cryptsetup-devel-2.3.3.
- openSUSE Leap 15.3 packages libcryptsetup-devel-2.3.4
- openSUSE Leap 15.2 packages libcryptsetup-devel-2.0.5
so we can drop the support for libcryptsetup < 2.0.5
see also ea3c1bfb9ef2edcdf572df0cb143c463b7551905
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e289346112..b85c58a2bc2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -206,11 +206,8 @@ endif() # libcryptsetup is only available on linux if(WITH_RBD AND LINUX) - find_package(libcryptsetup REQUIRED) + find_package(libcryptsetup 2.0.5 REQUIRED) set(HAVE_LIBCRYPTSETUP ${LIBCRYPTSETUP_FOUND}) - if(${LIBCRYPTSETUP_VERSION} VERSION_LESS 2.0.5) - set(LIBCRYPTSETUP_LEGACY_DATA_ALIGNMENT TRUE) - endif() endif() include(CMakeDependentOption) |