From 57d364d9106f0a6442a0af9d120f97e3415a1839 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Tue, 21 Nov 2023 14:10:14 +0100
Subject: [PATCH] Add CMake maximum version

Installation has been tested with CMake `3.27`. Adding the maximum
version rids us of a warning message concerning policy CMP0144.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7cbaefbd..b066ae80 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.20)
+cmake_minimum_required(VERSION 3.20...3.27)
 project(Detection_eddies LANGUAGES Fortran)
 set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS Debug Release Profile
   RelWithDebInfo)
-- 
GitLab