mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Do not pass MSVC arguments to mingw/gcc
This commit is contained in:
committed by
Felix Kauselmann
parent
7268de0197
commit
1c3fd4d16f
@ -6,7 +6,8 @@ CONFIG += c++17
|
||||
win32:QMAKE_CXXFLAGS += /std:c++17 #enable c++17 explicitly in msvc
|
||||
|
||||
unix:QMAKE_CXXFLAGS_RELEASE += -DNDEBUG
|
||||
win32:QMAKE_CXXFLAGS_RELEASE += /DNDEBUG
|
||||
mingw:QMAKE_CXXFLAGS_RELEASE += -DNDEBUG
|
||||
win32:msvc:QMAKE_CXXFLAGS_RELEASE += /DNDEBUG
|
||||
|
||||
# check Qt version
|
||||
defineTest(minQtVersion) {
|
||||
|
Reference in New Issue
Block a user