diff --git a/chatterino.pro b/chatterino.pro index 8a61d34b4..a4cf99f03 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -9,9 +9,6 @@ CONFIG += communi COMMUNI += core model util CONFIG += c++14 -DEFINES += IRC_NAMESPACE=Communi -include(lib/libcommuni/src/src.pri) - greaterThan(QT_MAJOR_VERSION, 4): QT += widgets # Include ourself @@ -222,3 +219,6 @@ include(dependencies/settings.pri) include(dependencies/signals.pri) include(dependencies/humanize.pri) include(dependencies/fmt.pri) +DEFINES += IRC_NAMESPACE=Communi +include(dependencies/libcommuni.pri) + diff --git a/dependencies/libcommuni.pri b/dependencies/libcommuni.pri new file mode 100644 index 000000000..43b902fbc --- /dev/null +++ b/dependencies/libcommuni.pri @@ -0,0 +1,3 @@ +include(../lib/libcommuni/src/core/core.pri) +include(../lib/libcommuni/src/model/model.pri) +include(../lib/libcommuni/src/util/util.pri)