1
0
mirror of synced 2025-02-26 06:18:05 +01:00

build: Fixed Linux build issues

This commit is contained in:
WerWolv 2025-02-18 10:21:26 +01:00
parent 99a4979b65
commit 48abdeaf6b
2 changed files with 1 additions and 9 deletions

View File

@ -46,15 +46,6 @@ macro(add_imhex_plugin)
addIncludesFromLibrary(${IMHEX_PLUGIN_NAME} libpl)
addIncludesFromLibrary(${IMHEX_PLUGIN_NAME} libpl-gen)
if (NOT IMHEX_PLUGIN_LIBRARY_PLUGIN)
set_target_properties(${IMHEX_PLUGIN_NAME}
PROPERTIES
C_VISIBILITY_PRESET hidden
CPP_VISIBILITY_PRESET hidden
VISIBILITY_INLINES_HIDDEN ON
)
endif()
precompileHeaders(${IMHEX_PLUGIN_NAME} "${CMAKE_CURRENT_SOURCE_DIR}/include")
# Add IMHEX_PROJECT_NAME and IMHEX_VERSION define

View File

@ -5,6 +5,7 @@
#include <hex/api/imhex_api.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/events/events_gui.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <hex/api/events/requests_gui.hpp>
#include <hex/helpers/utils.hpp>