try improve entt across-boundry support

This commit is contained in:
2024-05-18 12:28:33 +02:00
parent 2095bc6889
commit 35026dfa0f
2 changed files with 9 additions and 0 deletions

View File

@ -105,3 +105,8 @@ target_link_libraries(tomato PUBLIC
SDL3_image::SDL3_image
)
# probably not enough
#target_compile_definitions(tomato PUBLIC ENTT_API_EXPORT)
set_target_properties(tomato PROPERTIES POSITION_INDEPENDENT_CODE ON)