CMakeLists: update cmake minimum required version to 3.10
authorChristian Marangi <[email protected]>
Fri, 3 Oct 2025 21:33:39 +0000 (23:33 +0200)
committerChristian Marangi <[email protected]>
Fri, 3 Oct 2025 21:33:39 +0000 (23:33 +0200)
New cmake version 4.0 requires at least 3.5 version as the minimum
required version with it increased to 3.10 in to-be-released cmake
versions.

Set the minimum required version to 3.10 to future-proof for future
cmake version.

Suggested-by: Hannu Nyman <[email protected]>
Signed-off-by: Christian Marangi <[email protected]>
CMakeLists.txt

index f2636ace95278515badc0325d78fcb12c590fa59..41294b7f01b5837af369735e83af1eb8a0fd1efa 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.10)
 
 PROJECT(ubox C)
 ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations)