From 50b3e2d1bca1475d6ded9081510849059b0335aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20R=C3=BCth?= Date: Wed, 20 May 2026 04:43:06 +0300 Subject: [PATCH] Relax cmake version requirements so we can build with Ubuntu 24.04 (which has cmake 3.28.0.) I guess 3.5.0 is good enough, though I didn't check. --- CMakeLists.txt | 2 +- external/tpl/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38c35b3c..879aaeaa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT # found in the top-level directory of this distribution. -cmake_minimum_required(VERSION 4.0) +cmake_minimum_required(VERSION 3.5) project(cppast VERSION 0.1.0) if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) diff --git a/external/tpl/CMakeLists.txt b/external/tpl/CMakeLists.txt index 4f31d3e2..5b3e2393 100644 --- a/external/tpl/CMakeLists.txt +++ b/external/tpl/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 4.0) +cmake_minimum_required(VERSION 3.5) project(tiny-process-library)