mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 22:46:33 +00:00
Changed qmake script to use MAVSDK directly instead of pkg-config,
because the MAVSDK Debian package has a broken pkg-config file.
This commit is contained in:
+5
-2
@@ -1,9 +1,12 @@
|
|||||||
QT = core
|
QT = core
|
||||||
CONFIG += c++17 cmdline link_pkgconfig
|
CONFIG += c++17 cmdline
|
||||||
PKGCONFIG += mavsdk
|
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += -Wno-address-of-packed-member
|
QMAKE_CXXFLAGS += -Wno-address-of-packed-member
|
||||||
|
|
||||||
|
# MAVSDK pkg-config file is garbage. Add dependency manually
|
||||||
|
INCLUDEPATH += /usr/include/mavsdk
|
||||||
|
LIBS += /usr/lib/libmavsdk.so.2
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
az_action_point.cpp \
|
az_action_point.cpp \
|
||||||
az_coordinate.cpp \
|
az_coordinate.cpp \
|
||||||
|
|||||||
Reference in New Issue
Block a user