From 57069c609afa77e40bdea882ede6c8f1201ac48a Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Wed, 7 Nov 2018 12:20:45 +0100 Subject: [PATCH] maybe update chatterino.pro to work for older versions of osx --- chatterino.pro | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/chatterino.pro b/chatterino.pro index 11157d7d4..f17b0ba82 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -9,7 +9,20 @@ message(----) QT += widgets core gui network multimedia svg concurrent CONFIG += communi COMMUNI += core model util -CONFIG += c++17 +macx { + # osx + CONFIG += c++14 + DEFINES += PAJLADA_SETTINGS_BOOST_OPTIONAL +} else { + CONFIG += c++17 + win32-msvc* { + # win32 msvc + QMAKE_CXXFLAGS += /std:c++17 + } else { + # clang/gcc on linux or win32 + QMAKE_CXXFLAGS += -std=c++17 + } +} INCLUDEPATH += src/ TARGET = chatterino TEMPLATE = app @@ -17,11 +30,6 @@ DEFINES += QT_DEPRECATED_WARNINGS PRECOMPILED_HEADER = src/PrecompiledHeader.hpp CONFIG += precompile_header -win32-msvc* { - QMAKE_CXXFLAGS += /std:c++17 -} else { - QMAKE_CXXFLAGS += -std=c++17 -} debug { DEFINES += QT_DEBUG