maybe update chatterino.pro to work for older versions of osx

This commit is contained in:
Rasmus Karlsson 2018-11-07 12:20:45 +01:00
parent 246b9cadee
commit 57069c609a

View file

@ -9,7 +9,20 @@ message(----)
QT += widgets core gui network multimedia svg concurrent QT += widgets core gui network multimedia svg concurrent
CONFIG += communi CONFIG += communi
COMMUNI += core model util 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/ INCLUDEPATH += src/
TARGET = chatterino TARGET = chatterino
TEMPLATE = app TEMPLATE = app
@ -17,11 +30,6 @@ DEFINES += QT_DEPRECATED_WARNINGS
PRECOMPILED_HEADER = src/PrecompiledHeader.hpp PRECOMPILED_HEADER = src/PrecompiledHeader.hpp
CONFIG += precompile_header CONFIG += precompile_header
win32-msvc* {
QMAKE_CXXFLAGS += /std:c++17
} else {
QMAKE_CXXFLAGS += -std=c++17
}
debug { debug {
DEFINES += QT_DEBUG DEFINES += QT_DEBUG