mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 17:33:33 +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:
@@ -54,6 +54,6 @@ px4_add_module(
|
||||
gpsfailure.cpp
|
||||
follow_target.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
git_ecl
|
||||
ecl
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#include <navigator/navigation.h>
|
||||
#include <px4_module_params.h>
|
||||
#include <px4_module.h>
|
||||
#include <systemlib/perf_counter.h>
|
||||
#include <perf/perf_counter.h>
|
||||
#include <uORB/topics/fw_pos_ctrl_status.h>
|
||||
#include <uORB/topics/geofence_result.h>
|
||||
#include <uORB/topics/mission.h>
|
||||
|
||||
Reference in New Issue
Block a user