mariadb: allow build with cmake-4.0.0

patch is for https://github.com/codership/wsrep-lib - 246
This commit is contained in:
Rudi Heitbaum 2025-03-28 07:43:00 +00:00
parent eb71165292
commit 1dd0ac479b

View File

@ -0,0 +1,22 @@
From 2abb5e794fdaf6114d4691f7921ec7bda2902603 Mon Sep 17 00:00:00 2001
From: fundawang <fundawang@yeah.net>
Date: Sat, 22 Mar 2025 23:08:46 +0800
Subject: [PATCH] Update cmake minimum version range
---
wsrep-lib/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wsrep-lib/CMakeLists.txt b/wsrep-lib/CMakeLists.txt
index ef2f4c8b..b6dd69f1 100644
--- a/wsrep-lib/CMakeLists.txt
+++ b/wsrep-lib/CMakeLists.txt
@@ -2,7 +2,7 @@
# Copyright (C) 2021 Codership Oy <info@codership.com>
#
-cmake_minimum_required (VERSION 2.8)
+cmake_minimum_required (VERSION 2.8...4.0)
# Parse version from version header file and store it into
# WSREP_LIB_VERSION.