]> the.earth.li Git - onak.git/commitdiff
Update minimum required CMake version
authorJonathan McDowell <noodles@earth.li>
Mon, 14 Jul 2025 19:26:26 +0000 (20:26 +0100)
committerJonathan McDowell <noodles@earth.li>
Mon, 14 Jul 2025 19:26:26 +0000 (20:26 +0100)
CMake 4.0 has dropped support for backwards compatibility with versions
before 3.5. We don't actually need this, so update our range all the way
up to 3.31, which is the version that will ship with Debian trixie.

CMakeLists.txt

index ed47ba32766625792e3a3b7d2ca348c7e3f834c5..9f83d95dd7745233da14068a04d3464ef50caab3 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.1..3.31 FATAL_ERROR)
 project(onak VERSION 0.6.3 LANGUAGES C)
 
 include(CheckSymbolExists)