mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
LP-251 Turn on -Werror for uavobjgenerator on osx
This commit is contained in:
parent
de1a0ce49a
commit
8e63d4e618
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user