From 533270d8b5730a3b4525374d772977ebadb3f63c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Sun, 1 Mar 2026 22:05:19 -0500
Subject: [PATCH] update cmake required version

---
 dev/CMakeLists.txt          | 2 +-
 dev/restinio/CMakeLists.txt | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/dev/CMakeLists.txt b/dev/CMakeLists.txt
index 53639afe..2da03cc4 100644
--- a/dev/CMakeLists.txt
+++ b/dev/CMakeLists.txt
@@ -20,7 +20,7 @@
 
 
 # Root CMake for RESTinio project.
-cmake_minimum_required(VERSION 3.14)
+cmake_minimum_required(VERSION 3.21...3.31)
 
 set(RESTINIO_LIBRARY_NAME restinio)
 project(${RESTINIO_LIBRARY_NAME}_root CXX)
diff --git a/dev/restinio/CMakeLists.txt b/dev/restinio/CMakeLists.txt
index f622a87d..c29f6162 100644
--- a/dev/restinio/CMakeLists.txt
+++ b/dev/restinio/CMakeLists.txt
@@ -1,9 +1,3 @@
-cmake_minimum_required(VERSION 3.10)
-
-if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.31.0")
-    cmake_policy(SET CMP0177 NEW)
-endif()
-
 if(NOT RESTINIO_LIBRARY_NAME)
     # That must be the case when RESTinio is used as a dependency.
     set(RESTINIO_LIBRARY_NAME restinio)
-- 
2.50.1 (Apple Git-155)

