From 8f77ede1674261225a98a5c2e49ab08f92450921 Mon Sep 17 00:00:00 2001 From: "Evgeniy A. Dushistov" Date: Sun, 17 Aug 2025 12:54:06 +0300 Subject: [PATCH] chore: update requirement for cmake to 3.10, to make modern cmake happy and fix build on latest Ubuntu (24.04) --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f832b04..70fc9f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ -project(sdcv) +cmake_minimum_required(VERSION 3.10 FATAL_ERROR) +cmake_policy(VERSION 3.10) -cmake_minimum_required(VERSION 3.5 FATAL_ERROR) -cmake_policy(VERSION 3.5) +project(sdcv) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED True)