[Bf-blender-cvs] [1131328aeb8] master: Fix: Mantaflow always builds openvdb statically

Sebastian Parborg noreply at git.blender.org
Thu Aug 27 14:50:45 CEST 2020


Commit: 1131328aeb8c4c0e682416dba457a201127806bd
Author: Sebastian Parborg
Date:   Thu Aug 27 14:49:34 2020 +0200
Branches: master
https://developer.blender.org/rB1131328aeb8c4c0e682416dba457a201127806bd

Fix: Mantaflow always builds openvdb statically

This would lead to problems when we build a dynamic openvdb library.

===================================================================

M	extern/mantaflow/CMakeLists.txt

===================================================================

diff --git a/extern/mantaflow/CMakeLists.txt b/extern/mantaflow/CMakeLists.txt
index 989f45c69b4..8bb0bc69f98 100644
--- a/extern/mantaflow/CMakeLists.txt
+++ b/extern/mantaflow/CMakeLists.txt
@@ -64,9 +64,6 @@ endif()
 
 if(WITH_OPENVDB)
   add_definitions(-DOPENVDB=1)
-  if(NOT WIN32)
-    add_definitions(-DOPENVDB_STATICLIB)
-  endif()
 endif()
 
 if(WITH_OPENVDB_BLOSC)



More information about the Bf-blender-cvs mailing list