From 0e6e6f149730fbbd43d186fb994f7e90557493e7 Mon Sep 17 00:00:00 2001
From: Louis Moureaux <louis.moureaux@cern.ch>
Date: Tue, 18 Jun 2024 01:52:22 +0200
Subject: [PATCH] Require CMake 3.23

This is needed for File Sets support.
---
 CMakeLists.txt               | 2 +-
 cmake/TUnfold/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b739ae0..78aab7c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
 #                                                                                                                     
 # SPDX-FileCopyrightText: Louis Moureaux <louis.moureaux@cern.ch>
 
-cmake_minimum_required(VERSION 3.17...3.28 FATAL_ERROR)                                                               
+cmake_minimum_required(VERSION 3.23...3.28 FATAL_ERROR)                                                               
 
 # Set a useful default install directory but let the user override it
 set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/tools" CACHE PATH
diff --git a/cmake/TUnfold/CMakeLists.txt b/cmake/TUnfold/CMakeLists.txt
index 8da8289..f855ee0 100644
--- a/cmake/TUnfold/CMakeLists.txt
+++ b/cmake/TUnfold/CMakeLists.txt
@@ -2,7 +2,7 @@
 #
 # SPDX-FileCopyrightText: Louis Moureaux <louis.moureaux@cern.ch>
 
-cmake_minimum_required(VERSION 3.17..3.26 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.23..3.26 FATAL_ERROR)
 project(TUnfold VERSION 17.9 LANGUAGES CXX)
 
 find_package(ROOT 6.24 REQUIRED)
-- 
GitLab