forked from Green-Sky/tomato
try improve entt across-boundry support
This commit is contained in:
parent
2095bc6889
commit
35026dfa0f
@ -38,6 +38,10 @@ if (TOMATO_ASAN)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# uggly, but it needs to be defined for all of tomato.
|
||||||
|
# but this also means that we can not compile tomato in the same cmake as plugins
|
||||||
|
add_compile_definitions(ENTT_API_EXPORT)
|
||||||
|
|
||||||
# external libs
|
# external libs
|
||||||
add_subdirectory(./external) # before increasing warn levels, sad :(
|
add_subdirectory(./external) # before increasing warn levels, sad :(
|
||||||
|
|
||||||
|
@ -105,3 +105,8 @@ target_link_libraries(tomato PUBLIC
|
|||||||
SDL3_image::SDL3_image
|
SDL3_image::SDL3_image
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# probably not enough
|
||||||
|
#target_compile_definitions(tomato PUBLIC ENTT_API_EXPORT)
|
||||||
|
|
||||||
|
set_target_properties(tomato PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user