From 23cab6539db6d10cf6a4a58acd9215b5a1cdc6fb Mon Sep 17 00:00:00 2001 From: Shubham Avasthi Date: Sat, 27 May 2023 23:50:45 +0530 Subject: [PATCH] Update leveldb to v1.22-p1 (#676) --- cmake/configs/default.cmake | 2 +- cmake/projects/leveldb/hunter.cmake | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cmake/configs/default.cmake b/cmake/configs/default.cmake index 68f9645d05..c1a3454e2e 100644 --- a/cmake/configs/default.cmake +++ b/cmake/configs/default.cmake @@ -355,7 +355,7 @@ hunter_default_version(kNet VERSION 2.7-p1) hunter_default_version(kbproto VERSION 1.0.7) hunter_default_version(lcms VERSION 2.13.1-p0) hunter_default_version(lehrfempp VERSION 0.8.0) -hunter_default_version(leveldb VERSION 1.22) +hunter_default_version(leveldb VERSION 1.22-p1) hunter_default_version(libarchive VERSION 3.4.3) hunter_default_version(libbacktrace VERSION 1.0.0-ca0de051) hunter_default_version(libcpuid VERSION 0.4.0) diff --git a/cmake/projects/leveldb/hunter.cmake b/cmake/projects/leveldb/hunter.cmake index 63b2972ff5..33b4a3b32b 100644 --- a/cmake/projects/leveldb/hunter.cmake +++ b/cmake/projects/leveldb/hunter.cmake @@ -18,6 +18,12 @@ hunter_add_version( URL "https://github.com/hunter-packages/leveldb/archive/v1.22-p0.tar.gz" SHA1 "616e3816c0f44423136dcf286ae51417f0d75198") +hunter_add_version( + PACKAGE_NAME leveldb + VERSION "1.22-p1" + URL "https://github.com/cpp-pm/leveldb/archive/refs/tags/v1.22-p1.tar.gz" + SHA1 "2b9024071ce4b43a32eca81811c6589a8530d04f") + hunter_cmake_args(leveldb CMAKE_ARGS LEVELDB_BUILD_TESTS=OFF LEVELDB_BUILD_BENCHMARKS=OFF)