plugin symbol visibility

This commit is contained in:
2024-05-19 11:44:01 +02:00
parent df2e1d6d42
commit ff52f15566
3 changed files with 10 additions and 1 deletions

View File

@@ -4,6 +4,12 @@ add_library(plugin_toxic_games SHARED
./plugin_toxic_games.cpp
)
set_target_properties(plugin_toxic_games PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
target_compile_definitions(plugin_toxic_games PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_toxic_games PUBLIC
solanaceae_plugin
solanaceae_toxic_games