mirror of https://github.com/ArduPilot/ardupilot
waf: pass mavlink include path into cmake build
This commit is contained in:
parent
8486d4ab5e
commit
a1c52415e9
|
@ -272,6 +272,7 @@ def configure(cfg):
|
|||
'-DCMAKE_BUILD',
|
||||
'-DARDUPILOT_BUILD',
|
||||
'-I%s' % bldpath('libraries/GCS_MAVLink'),
|
||||
'-I%s' % bldpath('libraries/GCS_MAVLink/include/mavlink'),
|
||||
'-Wl,--gc-sections',
|
||||
)),
|
||||
EXTRA_C_FLAGS=' '.join((
|
||||
|
|
Loading…
Reference in New Issue