1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

LP-251 Turn on -Werror for uavobjgenerator on osx

This commit is contained in:
Stefan Karlsson 2016-03-06 12:45:08 +01:00
parent de1a0ce49a
commit 8e63d4e618

View File

@ -6,7 +6,12 @@
QT += xml
QT -= gui
macx {
QMAKE_CXXFLAGS += -fpermissive
CONFIG += warn_on
!warn_off {
QMAKE_CXXFLAGS_WARN_ON += -Werror
QMAKE_CFLAGS_WARN_ON += -Werror
QMAKE_CXXFLAGS += -fpermissive
}
}
# use ccache when available
QMAKE_CC = $$(CCACHE) $$QMAKE_CC