From 2e7134d88eeeaa848757c1eeaa8c369f29205596 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 20 May 2025 07:10:26 +0200 Subject: [PATCH] Update cmake_minimum_required to 3.5 This supports compilation with cmake-4.0.0. Fixes: CMake Error at CMakeLists.txt:23 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c40d55..7c722de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ # ############################################################################ -cmake_minimum_required(VERSION 3.22) +cmake_minimum_required(VERSION 3.5) project(BCG729 VERSION 1.1.1 LANGUAGES C)