From 7e9db2bbad4b2aee26a91e2dfc13142896c537f7 Mon Sep 17 00:00:00 2001 From: Charlie Birks Date: Tue, 26 Nov 2024 20:25:03 +0000 Subject: [PATCH] Specify a max version in cmake_minimum_required --- CMakeLists.txt | 2 +- firmware/CMakeLists.txt | 2 +- launcher/CMakeLists.txt | 2 +- utilities/CMakeLists.txt | 2 +- utilities/hardware-test/CMakeLists.txt | 2 +- utilities/picosystem-hardware-test/CMakeLists.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2abfba369..62ca9dd83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.9...3.26) # has to be before project include(32blit-pico/sdk_import.cmake) diff --git a/firmware/CMakeLists.txt b/firmware/CMakeLists.txt index a367fdc1c..4118f2e2b 100644 --- a/firmware/CMakeLists.txt +++ b/firmware/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.9...3.26) project (firmware) find_package (32BLIT CONFIG REQUIRED PATHS ..) diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index a427f514a..592509a73 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.9...3.26) project (launcher) find_package (32BLIT CONFIG REQUIRED PATHS ..) diff --git a/utilities/CMakeLists.txt b/utilities/CMakeLists.txt index e86ebf1c6..28badaef1 100644 --- a/utilities/CMakeLists.txt +++ b/utilities/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.9...3.26) project (examples) find_package (32BLIT CONFIG REQUIRED PATHS ..) diff --git a/utilities/hardware-test/CMakeLists.txt b/utilities/hardware-test/CMakeLists.txt index d76093ad3..ea3aea68f 100644 --- a/utilities/hardware-test/CMakeLists.txt +++ b/utilities/hardware-test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.9...3.26) project (hardware-test) find_package (32BLIT CONFIG REQUIRED PATHS ../..) diff --git a/utilities/picosystem-hardware-test/CMakeLists.txt b/utilities/picosystem-hardware-test/CMakeLists.txt index ecea602dc..465ea66bd 100644 --- a/utilities/picosystem-hardware-test/CMakeLists.txt +++ b/utilities/picosystem-hardware-test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.9...3.26) project (picosystem-hardware-test) find_package (32BLIT CONFIG REQUIRED PATHS ../..)