diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-08-13 20:42:05 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-08-13 20:42:05 +0300 |
commit | e691a3a9b7f3d7a57eb0a65a6fa8dde46aff523b (patch) | |
tree | 8a7838df24df264240e16aa70a069297992634cf /extern | |
parent | aabbb515d6cadd8f9ce9f1161a50fdf8c75b6dd1 (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')
-rw-r--r-- | extern/mantaflow/CMakeLists.txt | 4 |
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) |