From 78950ee11645d32d237a54da7af343ac387be3e5 Mon Sep 17 00:00:00 2001 From: Josiah VanderZee Date: Tue, 22 Aug 2023 08:48:00 -0500 Subject: [PATCH] Add version range up to CMake 3.27 Specifying a version range ensures that our build is compatible with NEW policies in future CMake versions, and therefore won't unexpectedly break when we increase our mininum version. It is fine to use a CMake version newer than the upper end of our version range, but we should keep the range updated as newer versions become available. We should use a latest CMake on at least one CI run. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 88987ddcc39..3ddf86fc250 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ # ####################### -cmake_minimum_required(VERSION 3.20) +cmake_minimum_required(VERSION 3.20..3.27) project(ats VERSION 10.0.0) set(TS_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})