qt: Add C++14 support
This commit is contained in:
parent
8584c5d899
commit
560d0d4bbb
|
@ -67,3 +67,10 @@ DISTFILES += \
|
|||
../Licence.txt
|
||||
|
||||
RC_FILE += NineChess.rc
|
||||
|
||||
# With C++14 support
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
CONFIG += c++14
|
||||
} else {
|
||||
QMAKE_CXXFLAGS += -std=c++0x
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue