Windows: Switch to the dynamic C runtime

This change switches windows to the dynamic C runtime
avoiding issues coming from mixing the static and dynamic
runtime like the ones outlined in [1]

[1] https://developer.blender.org/D5387#122165

Differential Revision: https://developer.blender.org/D6175

Reviewed by: @Sergey
This commit is contained in:
Ray Molenkamp
2019-11-08 09:01:00 -07:00
parent e408a62c2a
commit a67aa11b12
23 changed files with 128 additions and 72 deletions

View File

@@ -40,6 +40,12 @@ if(WITH_OPENVDB)
${OPENVDB_DEFINITIONS}
)
if(WIN32)
add_definitions(
-DOPENVDB_STATICLIB
)
endif()
if(WITH_OPENVDB_3_ABI_COMPATIBLE)
add_definitions(
-DOPENVDB_3_ABI_COMPATIBLE