diff --git a/platforms/posix/src/px4/common/lockstep_scheduler/CMakeLists.txt b/platforms/posix/src/px4/common/lockstep_scheduler/CMakeLists.txt index 15c40a2e99..7b4798c600 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 2.8.12) +cmake_minimum_required(VERSION 3.5) # 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 ea779efc9e..4b30be206b 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 2.8.12) +cmake_minimum_required(VERSION 3.5) add_executable(lockstep_scheduler_test src/lockstep_scheduler_test.cpp