diff --git a/platforms/posix/src/px4/common/lockstep_scheduler/CMakeLists.txt b/platforms/posix/src/px4/common/lockstep_scheduler/CMakeLists.txt index 7b4798c600..1adf45fd94 100644 --- a/platforms/posix/src/px4/common/lockstep_scheduler/CMakeLists.txt +++ b/platforms/posix/src/px4/common/lockstep_scheduler/CMakeLists.txt @@ -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 diff --git a/platforms/posix/src/px4/common/lockstep_scheduler/test/CMakeLists.txt b/platforms/posix/src/px4/common/lockstep_scheduler/test/CMakeLists.txt index 4b30be206b..ffadd34e9d 100644 --- a/platforms/posix/src/px4/common/lockstep_scheduler/test/CMakeLists.txt +++ b/platforms/posix/src/px4/common/lockstep_scheduler/test/CMakeLists.txt @@ -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