# HG changeset patch # User Josef 'Jeff' Sipek # Date 1713623085 14400 # Sat Apr 20 10:24:45 2024 -0400 # Node ID 93c29595045b8013cd36b961f5c75913c2cff36d # Parent 3fafcc8035ad336f2e04955258733bf041ae48a5 cmake: bump the minimum required version to 3.12 Even Debian old-old-stable (buster) shipped 3.13. This is needed because modern cmake (3.28) warns about specifying too old of a minimum required version: CMake Deprecation Warning at .../CMakeLists.txt:23 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Instead of bumping the version to 3.11, we bump it to 3.12 to match libjeffpc. Signed-off-by: Josef 'Jeff' Sipek diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright (c) 2011-2020 Josef 'Jeff' Sipek +# Copyright (c) 2011-2020,2024 Josef 'Jeff' Sipek # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -20,7 +20,7 @@ # SOFTWARE. # -cmake_minimum_required(VERSION 2.8.12.2) +cmake_minimum_required(VERSION 3.12) project(blahgd) enable_testing()