mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
build: Fix a few remaining build errors
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user