mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Add two missing #ifdef CHATTERINO_HAVE_PLUGINS
This commit is contained in:
parent
67a6821cad
commit
16d2d02787
2 changed files with 6 additions and 1 deletions
|
@ -12,7 +12,6 @@
|
||||||
#include "controllers/commands/CommandModel.hpp"
|
#include "controllers/commands/CommandModel.hpp"
|
||||||
#include "controllers/plugins/PluginController.hpp"
|
#include "controllers/plugins/PluginController.hpp"
|
||||||
#include "controllers/userdata/UserDataController.hpp"
|
#include "controllers/userdata/UserDataController.hpp"
|
||||||
#include "lua.h"
|
|
||||||
#include "messages/Message.hpp"
|
#include "messages/Message.hpp"
|
||||||
#include "messages/MessageBuilder.hpp"
|
#include "messages/MessageBuilder.hpp"
|
||||||
#include "messages/MessageElement.hpp"
|
#include "messages/MessageElement.hpp"
|
||||||
|
@ -52,6 +51,10 @@
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
||||||
|
#ifdef CHATTERINO_HAVE_PLUGINS
|
||||||
|
# include "lua.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using namespace chatterino;
|
using namespace chatterino;
|
||||||
|
|
|
@ -113,8 +113,10 @@ AboutPage::AboutPage()
|
||||||
addLicense(form.getElement(), "miniaudio",
|
addLicense(form.getElement(), "miniaudio",
|
||||||
"https://github.com/mackron/miniaudio",
|
"https://github.com/mackron/miniaudio",
|
||||||
":/licenses/miniaudio.txt");
|
":/licenses/miniaudio.txt");
|
||||||
|
#ifdef CHATTERINO_HAVE_PLUGINS
|
||||||
addLicense(form.getElement(), "lua", "https://lua.org",
|
addLicense(form.getElement(), "lua", "https://lua.org",
|
||||||
":/licenses/lua.txt");
|
":/licenses/lua.txt");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Attributions
|
// Attributions
|
||||||
|
|
Loading…
Reference in a new issue