From a1c52415e9270e6030d31b307543066232fca061 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 20 May 2016 16:25:22 +1000 Subject: [PATCH] waf: pass mavlink include path into cmake build --- Tools/ardupilotwaf/px4.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/ardupilotwaf/px4.py b/Tools/ardupilotwaf/px4.py index b400e44573..47eb7a56de 100644 --- a/Tools/ardupilotwaf/px4.py +++ b/Tools/ardupilotwaf/px4.py @@ -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((