Recognize GCC 8.x.
--HG-- branch : develop
This commit is contained in:
parent
f3a1c608c9
commit
58dae6e9d9
|
@ -15,6 +15,11 @@ count(LIST, 1, >): error("The build will fail. Path '$${OUT_PWD}' contains space
|
|||
|
||||
unix {
|
||||
*g++* {
|
||||
GCC_VERSION = $$system("g++ -dumpversion")
|
||||
contains(GCC_VERSION, ^8.*$) {
|
||||
message( "g++ version 8.x found" )
|
||||
CONFIG += g++8
|
||||
} else {
|
||||
GCC_VERSION = $$system("g++ -dumpversion")
|
||||
contains(GCC_VERSION, ^7.*$) {
|
||||
message( "g++ version 7.x found" )
|
||||
|
@ -38,6 +43,7 @@ unix {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TEMPLATE = subdirs
|
||||
|
|
Loading…
Reference in New Issue
Block a user