diff --git a/platforms/posix/src/px4_layer/CMakeLists.txt b/platforms/posix/src/px4_layer/CMakeLists.txt index 03d3d79df0..2dbf47c4bb 100644 --- a/platforms/posix/src/px4_layer/CMakeLists.txt +++ b/platforms/posix/src/px4_layer/CMakeLists.txt @@ -49,7 +49,7 @@ add_library(px4_layer px4_posix_tasks.cpp px4_sem.cpp lib_crc32.c - drv_hrt.c + drv_hrt.cpp ${SHMEM_SRCS} ) target_compile_definitions(px4_layer PRIVATE MODULE_NAME="px4")