try always exporting
This commit is contained in:
parent
fb5397097b
commit
ab8cc6dde1
@ -25,7 +25,9 @@ message("II SOLANACEAE_ECOSYSTEM_BUILD_TESTING " ${SOLANACEAE_ECOSYSTEM_BUILD_TE
|
|||||||
if (SOLANACEAE_ECOSYSTEM_BUILD_PLUGINS)
|
if (SOLANACEAE_ECOSYSTEM_BUILD_PLUGINS)
|
||||||
# uggly, but it needs to be defined for all dependencies too
|
# uggly, but it needs to be defined for all dependencies too
|
||||||
# but this also means that we can not compile a host in the same cmake run as plugins
|
# but this also means that we can not compile a host in the same cmake run as plugins
|
||||||
add_compile_definitions(ENTT_API_IMPORT)
|
#add_compile_definitions(ENTT_API_IMPORT)
|
||||||
|
# what if its always export?
|
||||||
|
add_compile_definitions(ENTT_API_EXPORT)
|
||||||
else()
|
else()
|
||||||
add_compile_definitions(ENTT_API_EXPORT)
|
add_compile_definitions(ENTT_API_EXPORT)
|
||||||
endif()
|
endif()
|
||||||
@ -67,5 +69,7 @@ endif()
|
|||||||
|
|
||||||
# cmake setup end
|
# cmake setup end
|
||||||
|
|
||||||
add_subdirectory(./plugins)
|
if (SOLANACEAE_ECOSYSTEM_BUILD_PLUGINS)
|
||||||
|
add_subdirectory(./plugins)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user