diff --git a/cmake/posix/px4_impl_posix.cmake b/cmake/posix/px4_impl_posix.cmake index 9007886c9e..49647e695e 100644 --- a/cmake/posix/px4_impl_posix.cmake +++ b/cmake/posix/px4_impl_posix.cmake @@ -206,6 +206,7 @@ if(UNIX AND APPLE) if (DARWIN_VERSION LESS 16) list(APPEND added_definitions -DCLOCK_MONOTONIC=1 + -DCLOCK_REALTIME=0 -D__PX4_APPLE_LEGACY ) endif()