build: require CMake >= 3.10 due to dropped legacy support master
authorHauke Mehrtens <[email protected]>
Sat, 4 Oct 2025 11:28:46 +0000 (13:28 +0200)
committerHauke Mehrtens <[email protected]>
Sat, 4 Oct 2025 11:28:46 +0000 (13:28 +0200)
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 <[email protected]>
CMakeLists.txt

index d44194b91e23cab586ecb6af92f6d71ffc364cd7..f88965938a2e6d0b76e495a34c235c1dd513d86c 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.10)
 INCLUDE (CheckIncludeFiles)
 INCLUDE(FindPkgConfig)