From 22cf4368bd13777c3b03acfbadc0d668e11790d3 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 3 Nov 2018 15:43:25 +0100 Subject: [PATCH] potentially fix msvc compilation --- chatterino.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chatterino.pro b/chatterino.pro index dcd0e3a20..11157d7d4 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -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