mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
Fix for OSX Lions compiler
OSX 10.7 and above will need the -fpermissive flag to compile
This commit is contained in:
parent
8d6ef5cfe9
commit
8625eba054
@ -4,6 +4,9 @@ DEFINES += UPLOADER_LIBRARY
|
|||||||
QT += svg
|
QT += svg
|
||||||
include(uploader_dependencies.pri)
|
include(uploader_dependencies.pri)
|
||||||
INCLUDEPATH += ../../libs/qextserialport/src
|
INCLUDEPATH += ../../libs/qextserialport/src
|
||||||
|
macx {
|
||||||
|
QMAKE_CXXFLAGS += -fpermissive
|
||||||
|
}
|
||||||
|
|
||||||
HEADERS += uploadergadget.h \
|
HEADERS += uploadergadget.h \
|
||||||
uploadergadgetconfiguration.h \
|
uploadergadgetconfiguration.h \
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# -------------------------------------------------
|
# -------------------------------------------------
|
||||||
QT += xml
|
QT += xml
|
||||||
QT -= gui
|
QT -= gui
|
||||||
|
macx {
|
||||||
|
QMAKE_CXXFLAGS += -fpermissive
|
||||||
|
}
|
||||||
TARGET = uavobjgenerator
|
TARGET = uavobjgenerator
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
|
Loading…
Reference in New Issue
Block a user