mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 07:13:33 +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:
@@ -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.
|
# We want to test the lockstep schedule even if it is not used otherwise.
|
||||||
px4_add_library(lockstep_scheduler
|
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
|
add_executable(lockstep_scheduler_test
|
||||||
src/lockstep_scheduler_test.cpp
|
src/lockstep_scheduler_test.cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user