mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Fix "unknown warning option" warning
This commit is contained in:
@@ -34,7 +34,7 @@ else {
|
||||
|
||||
# gcc 5 can warn about missing override keyword,
|
||||
# gcc 6 can do it without thousands of warnings in qt headers
|
||||
gcc {
|
||||
gcc: !clang {
|
||||
GCC_VERSION = $$system($$QMAKE_CXX -dumpversion)
|
||||
GCC_MAJOR = $$section(GCC_VERSION, ., 0, 0)
|
||||
greaterThan(GCC_MAJOR, 5) {
|
||||
|
||||
Reference in New Issue
Block a user