mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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:
parent
1777d6bcd2
commit
e8c19a2006
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user