mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
potentially fix msvc compilation
This commit is contained in:
parent
bcebfca477
commit
22cf4368bd
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,11 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
|||
PRECOMPILED_HEADER = src/PrecompiledHeader.hpp
|
||||
CONFIG += precompile_header
|
||||
|
||||
QMAKE_CXXFLAGS += -std=c++17
|
||||
win32-msvc* {
|
||||
QMAKE_CXXFLAGS += /std:c++17
|
||||
} else {
|
||||
QMAKE_CXXFLAGS += -std=c++17
|
||||
}
|
||||
|
||||
debug {
|
||||
DEFINES += QT_DEBUG
|
||||
|
|
Loading…
Reference in a new issue