mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 15:53:34 +08:00
cmake remove circular linking and reorganize
- px4_add_module now requires MAIN - px4_add_library doesn't automatically link
This commit is contained in:
@@ -36,7 +36,6 @@ px4_add_module(
|
||||
SRCS
|
||||
FixedwingAttitudeControl.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
git_ecl
|
||||
ecl
|
||||
)
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
#include <px4_defines.h>
|
||||
#include <px4_posix.h>
|
||||
#include <px4_tasks.h>
|
||||
#include <systemlib/param/param.h>
|
||||
#include <systemlib/perf_counter.h>
|
||||
#include <parameters/param.h>
|
||||
#include <perf/perf_counter.h>
|
||||
#include <uORB/Subscription.hpp>
|
||||
#include <uORB/topics/actuator_controls.h>
|
||||
#include <uORB/topics/airspeed.h>
|
||||
|
||||
Reference in New Issue
Block a user