improve entt cross-boundry interactions

This commit is contained in:
Green Sky 2024-05-18 12:43:50 +02:00
parent a68496857d
commit 797b1841a5
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View File

@ -9,3 +9,8 @@ target_link_libraries(plugin_message_n10n PUBLIC
solanaceae_message_n10n
)
# probably not enough
target_compile_definitions(plugin_message_n10n PUBLIC ENTT_API_IMPORT)
set_target_properties(plugin_message_n10n PROPERTIES POSITION_INDEPENDENT_CODE ON)

View File

@ -1,5 +1,8 @@
#include <solanaceae/plugin/solana_plugin_v1.h>
#include <entt/entt.hpp>
#include <entt/fwd.hpp>
#include "message_n10n.hpp"
#include <iostream>