Skip to content

Commit e8c19a2

Browse files
authored
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>
1 parent 1777d6b commit e8c19a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platforms/posix/src/px4/common/lockstep_scheduler/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5)
1+
cmake_minimum_required(VERSION 3.10)
22

33
# We want to test the lockstep schedule even if it is not used otherwise.
44
px4_add_library(lockstep_scheduler

platforms/posix/src/px4/common/lockstep_scheduler/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5)
1+
cmake_minimum_required(VERSION 3.10)
22

33
add_executable(lockstep_scheduler_test
44
src/lockstep_scheduler_test.cpp

0 commit comments

Comments
 (0)