From 024e527efb7d6f4fddb11caa3dba7eb98d37e363 Mon Sep 17 00:00:00 2001 From: CCP ChargeBack <35330827+ccp-chargeback@users.noreply.github.com> Date: Tue, 21 Oct 2025 16:22:54 +0000 Subject: [PATCH 1/3] Lower min cmake version on cli+tools to 3.30 --- cli/CMakeLists.txt | 2 +- tools/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt index 3982aa3..4cb70f9 100644 --- a/cli/CMakeLists.txt +++ b/cli/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright © 2025 CCP ehf. -cmake_minimum_required(VERSION 3.31) +cmake_minimum_required(VERSION 3.30) project(resources-cli VERSION 1.0.0) find_package(argparse CONFIG REQUIRED) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 4ba1175..42d6ef1 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright © 2025 CCP ehf. -cmake_minimum_required(VERSION 3.31) +cmake_minimum_required(VERSION 3.30) project(resources-tools VERSION 1.0.0) find_package(cryptopp CONFIG REQUIRED) From 925d695601d8fabc937e29460c03c3adc4731799 Mon Sep 17 00:00:00 2001 From: CCP ChargeBack <35330827+ccp-chargeback@users.noreply.github.com> Date: Wed, 22 Oct 2025 13:46:39 +0000 Subject: [PATCH 2/3] Remove cmake_minimum_required from sub projects - Keep it consistent across all sub projects - Inherit from root level CMakeLists.txt file --- cli/CMakeLists.txt | 1 - tests/CMakeLists.txt | 2 -- tools/CMakeLists.txt | 1 - 3 files changed, 4 deletions(-) diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt index 4cb70f9..1a7d707 100644 --- a/cli/CMakeLists.txt +++ b/cli/CMakeLists.txt @@ -1,6 +1,5 @@ # Copyright © 2025 CCP ehf. -cmake_minimum_required(VERSION 3.30) project(resources-cli VERSION 1.0.0) find_package(argparse CONFIG REQUIRED) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7bf6c1a..6531b72 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,7 +1,5 @@ # Copyright © 2025 CCP ehf. -cmake_minimum_required(VERSION 3.18) - project(resources-test) find_package(CURL CONFIG REQUIRED) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 42d6ef1..9988720 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,6 +1,5 @@ # Copyright © 2025 CCP ehf. -cmake_minimum_required(VERSION 3.30) project(resources-tools VERSION 1.0.0) find_package(cryptopp CONFIG REQUIRED) From 94b02b43e238e9d319a8b9e6a6d0748676226c53 Mon Sep 17 00:00:00 2001 From: CCP ChargeBack <35330827+ccp-chargeback@users.noreply.github.com> Date: Wed, 22 Oct 2025 14:07:05 +0000 Subject: [PATCH 3/3] Set CMake min version to 3.30.1 Prep for resources tag=3.0.3 --- CMakeLists.txt | 4 ++-- CMakePresets.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eb95913..6b5e3a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright © 2025 CCP ehf. -cmake_minimum_required(VERSION 3.30) -project(resources VERSION 3.0.2) +cmake_minimum_required(VERSION 3.30.1) +project(resources VERSION 3.0.3) include(cmake/CcpGlobalSettings.cmake) diff --git a/CMakePresets.json b/CMakePresets.json index 6a225c6..32eb308 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -2,8 +2,8 @@ "version": 3, "cmakeMinimumRequired": { "major": 3, - "minor": 31, - "patch": 0 + "minor": 30, + "patch": 1 }, "configurePresets": [ {