mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
maybe update chatterino.pro to work for older versions of osx
This commit is contained in:
parent
246b9cadee
commit
57069c609a
1 changed files with 14 additions and 6 deletions
|
@ -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
|
||||||
|
macx {
|
||||||
|
# osx
|
||||||
|
CONFIG += c++14
|
||||||
|
DEFINES += PAJLADA_SETTINGS_BOOST_OPTIONAL
|
||||||
|
} else {
|
||||||
CONFIG += c++17
|
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
|
||||||
|
|
Loading…
Reference in a new issue