This is an automated email from the ASF dual-hosted git repository. aleksraiden pushed a commit to branch aleksraiden-patch-2 in repository https://gitbox.apache.org/repos/asf/kvrocks.git
commit f81aa021dc975148c47a9d92f5a15df4c91e6b29 Author: Aleks Lozovyuk <[email protected]> AuthorDate: Thu Apr 3 21:16:42 2025 +0300 Update CMakeLists.txt --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 64d819427..637833098 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,8 @@ set(PORTABLE 0 CACHE STRING "build a portable binary (disable arch-specific opti # TODO: set ENABLE_NEW_ENCODING to ON when we are ready option(ENABLE_NEW_ENCODING "enable new encoding (#1033) for storing 64bit size and expire time in milliseconds" ON) +set(CMAKE_POLICY_VERSION_MINIMUM 3.5) + if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0") cmake_policy(SET CMP0135 NEW) endif()
