Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-08-13 20:42:05 +0300
committerRay Molenkamp <github@lazydodo.com>2020-08-13 20:42:05 +0300
commite691a3a9b7f3d7a57eb0a65a6fa8dde46aff523b (patch)
tree8a7838df24df264240e16aa70a069297992634cf /extern/mantaflow/CMakeLists.txt
parentaabbb515d6cadd8f9ce9f1161a50fdf8c75b6dd1 (diff)
Deps_builder: Update openvdb to a dynamic library
This patch changes openvdb from a static to a dynamic library. this is in preparation for enabling pyopenvdb at some point in the future. Differential Revision: https://developer.blender.org/D8282 Reviewed by: brecht
Diffstat (limited to 'extern/mantaflow/CMakeLists.txt')
-rw-r--r--extern/mantaflow/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/extern/mantaflow/CMakeLists.txt b/extern/mantaflow/CMakeLists.txt
index 9f66b42c6bf..989f45c69b4 100644
--- a/extern/mantaflow/CMakeLists.txt
+++ b/extern/mantaflow/CMakeLists.txt
@@ -64,7 +64,9 @@ endif()
if(WITH_OPENVDB)
add_definitions(-DOPENVDB=1)
- add_definitions(-DOPENVDB_STATICLIB)
+ if(NOT WIN32)
+ add_definitions(-DOPENVDB_STATICLIB)
+ endif()
endif()
if(WITH_OPENVDB_BLOSC)