diff --git a/platforms/common/px4_work_queue/CMakeLists.txt b/platforms/common/px4_work_queue/CMakeLists.txt index 01f8cc3db2b..320b26efa78 100644 --- a/platforms/common/px4_work_queue/CMakeLists.txt +++ b/platforms/common/px4_work_queue/CMakeLists.txt @@ -44,3 +44,7 @@ if(PX4_TESTING) endif() target_compile_options(px4_work_queue PRIVATE ${MAX_CUSTOM_OPT_LEVEL}) + +# WorkQueueManager starts and joins its thread with px4_task_spawn_cmd() and +# px4_task_join() +target_link_libraries(px4_work_queue PRIVATE px4_layer)