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:
Diffstat (limited to 'extern/mantaflow')
-rw-r--r--extern/mantaflow/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/extern/mantaflow/CMakeLists.txt b/extern/mantaflow/CMakeLists.txt
index 95d46ae5a9b..bdee06349d2 100644
--- a/extern/mantaflow/CMakeLists.txt
+++ b/extern/mantaflow/CMakeLists.txt
@@ -49,6 +49,11 @@ if(WITH_TBB)
add_definitions(-DTBB=1)
endif()
+if(WITH_OPENVDB)
+ add_definitions(-DOPENVDB=1)
+ add_definitions(-DOPENVDB_STATICLIB)
+endif()
+
if(WIN32)
add_definitions(-D_USE_MATH_DEFINES)
endif()
@@ -78,7 +83,6 @@ if(WITH_TBB)
endif()
if(WITH_OPENVDB)
- add_definitions(-DOPENVDB=1 ${OPENVDB_DEFINITIONS})
list(APPEND INC_SYS
${OPENVDB_INCLUDE_DIRS}
)