From e691a3a9b7f3d7a57eb0a65a6fa8dde46aff523b Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Thu, 13 Aug 2020 11:42:05 -0600 Subject: 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 --- extern/mantaflow/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extern/mantaflow') 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) -- cgit v1.2.3