Add clang switch to ignore third party warnings

The --system-header-prefix=third-party treats all includes with a path
matching third-party as system files, meaning they won't show warnings.
This commit is contained in:
Vasily
2018-12-27 14:04:14 +01:00
parent f32c91fe03
commit 0d6917566e
+1
View File
@@ -30,6 +30,7 @@ TEMPLATE = app
*clang* {
QMAKE_CXXFLAGS += -Werror
QMAKE_CXXFLAGS += --system-header-prefix=third-party
}
SOURCES += src/main.cpp\
src/overlaycontroller.cpp \