build: Fix a few remaining build errors

This commit is contained in:
WerWolv
2025-08-14 21:58:07 +02:00
parent 20df023137
commit babd9584a6
3 changed files with 4 additions and 0 deletions

View File

@@ -2,7 +2,9 @@
#include <imgui.h>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/ui/view.hpp>

View File

@@ -132,6 +132,7 @@ namespace hex::init {
const auto shouldLoadPlugin = [executablePath = wolv::io::fs::getExecutablePath()](const Plugin &plugin) {
// In debug builds, ignore all plugins that are not part of the executable directory
#if !defined(DEBUG)
std::ignore = plugin;
return true;
#else
if (!executablePath.has_value())

View File

@@ -1,5 +1,6 @@
#include <hex/plugin.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/debugging.hpp>