build: require CMake >= 3.5 due to dropped legacy support
authorNick Hainke <vincent@systemli.org>
Sun, 3 Aug 2025 09:10:51 +0000 (11:10 +0200)
committerNick Hainke <vincent@systemli.org>
Sun, 3 Aug 2025 09:26:34 +0000 (11:26 +0200)
CMake has dropped compatibility with versions earlier than 3.5. Update the
minimum required version in CMakeLists.txt to ensure compatibility with
newer CMake releases and avoid configuration errors.

Link: https://github.com/openwrt/firmware-utils/pull/48
Signed-off-by: Nick Hainke <vincent@systemli.org>
CMakeLists.txt

index eed563f163880bd93781763b820a0357de0d1f7d..c2b7199d2d54f455767b895e071bbd5939d4afa7 100644 (file)
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
 
 PROJECT(firmware-utils C)
 INCLUDE(GNUInstallDirs)