mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 21:46:33 +00:00
Removed problematic cmake script and improved qmake script.
There was some issues in cmake build. For some reason it doesn't handle QObjects properly and are so causing issues with telemetry signals. Modified qmake script to use user compiled MAVSDK installed to /usr/local/ Type: Improvement
This commit is contained in:
+4
-2
@@ -1,11 +1,13 @@
|
||||
QT = core
|
||||
CONFIG += c++17 cmdline
|
||||
|
||||
# Reduce compiler warnings from the ArduPilot headers
|
||||
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
|
||||
QMAKE_RPATHDIR += /usr/local/lib
|
||||
INCLUDEPATH += /usr/local/include/mavsdk
|
||||
LIBS += /usr/local/lib/libmavsdk.so
|
||||
|
||||
SOURCES += \
|
||||
az_action_point.cpp \
|
||||
|
||||
Reference in New Issue
Block a user