build(cmake): bump lockstep_scheduler minimum to 3.10 (#27017)

CMake 3.27+ warns on cmake_minimum_required(VERSION < 3.10), and CMake
4.x will make it a hard error. Align the lockstep_scheduler subdir with
the root CMakeLists.txt, which is already at 3.10.

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
Ramon Roche 2026-04-09 11:14:15 -06:00 committed by GitHub
parent 1777d6bcd2
commit e8c19a2006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
# We want to test the lockstep schedule even if it is not used otherwise.
px4_add_library(lockstep_scheduler

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
add_executable(lockstep_scheduler_test
src/lockstep_scheduler_test.cpp