From 6ef59d462ab4f2503c6179a9cf3a8a3acc4bbfea Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Mon, 12 May 2025 08:36:06 -0700 Subject: [PATCH] Update minimum cmake required --- CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 149e437..3afca82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,10 @@ ### -# Set minimum version of CMake. Since command 'project' use -# VERSION sub-option we need at least 3.0. -# Note: If you use 2.6 or 2.4, God kills a kitten. Seriously. -cmake_minimum_required(VERSION 3.5 FATAL_ERROR) +# Set minimum version of CMake. CMake 4.0 drops support for CMake<3.06 so that +# is the absolute lowest that we could allow without blocking the usage of new +# versions of CMake. Using 3.16 since it is the supported version on Ubuntu +# 20.04 LTS (using that as a representative distro for our desired level of +# backwards compatibility). +cmake_minimum_required(VERSION 3.16 FATAL_ERROR) #### # Set variables: