waf: pass mavlink include path into cmake build

This commit is contained in:
Andrew Tridgell 2016-05-20 16:25:22 +10:00
parent 8486d4ab5e
commit a1c52415e9

View File

@ -272,6 +272,7 @@ def configure(cfg):
'-DCMAKE_BUILD', '-DCMAKE_BUILD',
'-DARDUPILOT_BUILD', '-DARDUPILOT_BUILD',
'-I%s' % bldpath('libraries/GCS_MAVLink'), '-I%s' % bldpath('libraries/GCS_MAVLink'),
'-I%s' % bldpath('libraries/GCS_MAVLink/include/mavlink'),
'-Wl,--gc-sections', '-Wl,--gc-sections',
)), )),
EXTRA_C_FLAGS=' '.join(( EXTRA_C_FLAGS=' '.join((