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/plugins/PluginController.hpp"
|
||||
#include "controllers/userdata/UserDataController.hpp"
|
||||
#include "lua.h"
|
||||
#include "messages/Message.hpp"
|
||||
#include "messages/MessageBuilder.hpp"
|
||||
#include "messages/MessageElement.hpp"
|
||||
|
@ -52,6 +51,10 @@
|
|||
#include <QRegularExpression>
|
||||
#include <QUrl>
|
||||
|
||||
#ifdef CHATTERINO_HAVE_PLUGINS
|
||||
# include "lua.h"
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
using namespace chatterino;
|
||||
|
|
|
@ -113,8 +113,10 @@ AboutPage::AboutPage()
|
|||
addLicense(form.getElement(), "miniaudio",
|
||||
"https://github.com/mackron/miniaudio",
|
||||
":/licenses/miniaudio.txt");
|
||||
#ifdef CHATTERINO_HAVE_PLUGINS
|
||||
addLicense(form.getElement(), "lua", "https://lua.org",
|
||||
":/licenses/lua.txt");
|
||||
#endif
|
||||
}
|
||||
|
||||
// Attributions
|
||||
|
|
Loading…
Reference in a new issue