Skip to content

Commit

Permalink
Specify a max version in cmake_minimum_required
Browse files Browse the repository at this point in the history
  • Loading branch information
Daft-Freak authored Nov 26, 2024
1 parent db20fc7 commit 7e9db2b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion firmware/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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 ..)

Expand Down
2 changes: 1 addition & 1 deletion launcher/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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 ..)

Expand Down
2 changes: 1 addition & 1 deletion utilities/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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 ..)

Expand Down
2 changes: 1 addition & 1 deletion utilities/hardware-test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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 ../..)

Expand Down
2 changes: 1 addition & 1 deletion utilities/picosystem-hardware-test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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 ../..)

Expand Down

0 comments on commit 7e9db2b

Please sign in to comment.