diff --git a/src/platforms/posix/drivers/adcsim/CMakeLists.txt b/src/platforms/posix/drivers/adcsim/CMakeLists.txt index fc6802b0c4..c1c925c15c 100644 --- a/src/platforms/posix/drivers/adcsim/CMakeLists.txt +++ b/src/platforms/posix/drivers/adcsim/CMakeLists.txt @@ -40,5 +40,11 @@ px4_add_module( DEPENDS platforms__common git_driverframework + df_driver_framework ) + +target_link_libraries(platforms__posix__drivers__adcsim + df_driver_framework +) + # vim: set noet ft=cmake fenc=utf-8 ff=unix : diff --git a/src/platforms/posix/drivers/gyrosim/CMakeLists.txt b/src/platforms/posix/drivers/gyrosim/CMakeLists.txt index f776b34bea..a1b42bd11c 100644 --- a/src/platforms/posix/drivers/gyrosim/CMakeLists.txt +++ b/src/platforms/posix/drivers/gyrosim/CMakeLists.txt @@ -41,5 +41,11 @@ px4_add_module( DEPENDS platforms__common git_driverframework + df_driver_framework ) + +target_link_libraries(platforms__posix__drivers__gyrosim + df_driver_framework +) + # vim: set noet ft=cmake fenc=utf-8 ff=unix :