From: Hauke Mehrtens Date: Sat, 4 Oct 2025 11:41:48 +0000 (+0200) Subject: build: require CMake >= 3.10 due to dropped legacy support X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=6aee7096d8fb3aa3f44cc4a06255020a248b90b0;p=project%2Fmountd.git build: require CMake >= 3.10 due to dropped legacy support CMake version 4.0 and later require minimum version of 3.5 or later. Update to minimum version 3.10 which is the last not deprecated minimum version. CMake 3.10 was released in November 2017 and is included in Ubuntu 18.04. Signed-off-by: Hauke Mehrtens --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 85f97e1..0720439 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.10) PROJECT(mountd C) ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-unused-result -Wno-format-truncation)