You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by ti...@apache.org on 2022/10/11 01:33:50 UTC

[incubator-kvrocks] branch unstable updated: Bump CMake minimum required version to 3.16 (#972)

This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new d501248  Bump CMake minimum required version to 3.16 (#972)
d501248 is described below

commit d50124876638ce3aedea0ff1a5fde48fa7d31408
Author: Twice <tw...@gmail.com>
AuthorDate: Tue Oct 11 09:33:44 2022 +0800

    Bump CMake minimum required version to 3.16 (#972)
---
 CMakeLists.txt | 2 +-
 x.py           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03f730f..b009a09 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-cmake_minimum_required(VERSION 3.13)
+cmake_minimum_required(VERSION 3.16)
 project(kvrocks
         DESCRIPTION "NoSQL which based on rocksdb and compatible with the Redis protocol"
         LANGUAGES CXX)
diff --git a/x.py b/x.py
index bd3838c..76c304a 100755
--- a/x.py
+++ b/x.py
@@ -28,7 +28,7 @@ import sys
 from typing import List, Any, Optional, TextIO, Tuple
 from shutil import copyfile
 
-CMAKE_REQUIRE_VERSION = (3, 13, 0)
+CMAKE_REQUIRE_VERSION = (3, 16, 0)
 TCL_REQUIRE_VERSION = (8, 5, 0)
 
 SEMVER_REGEX = re.compile(