Update Valentina.pro to recognize GCC version 8.

(grafted from 7e4323f9618861233492a0d83c5fb8f11b619d95)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-01-19 14:06:31 +02:00
parent e5dc9d0667
commit 9c4393d435

View File

@ -20,7 +20,6 @@ unix {
message( "g++ version 8.x found" ) message( "g++ version 8.x found" )
CONFIG += g++8 CONFIG += g++8
} else { } else {
GCC_VERSION = $$system("g++ -dumpversion")
contains(GCC_VERSION, ^7.*$) { contains(GCC_VERSION, ^7.*$) {
message( "g++ version 7.x found" ) message( "g++ version 7.x found" )
CONFIG += g++7 CONFIG += g++7