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
path: root/intern
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2020-02-24 14:30:56 +0300
committerJulian Eisel <eiseljulian@gmail.com>2020-02-24 15:01:13 +0300
commitfc81eb74e7f9bdce239d745bfbc0cbf581eb075d (patch)
treec8d572bfc82195d1f943a8ee38e6b4b49b407ab1 /intern
parent69c587888b5e95a2f838f63cabd52bc6cf752ece (diff)
Mantaflow: Address precompiler warning and related cleanup
* Address warning because of undefined OPENVDB usage * Remove unused WITH_FLUID definitions Differential Revision: https://developer.blender.org/D6919
Diffstat (limited to 'intern')
-rw-r--r--intern/mantaflow/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/mantaflow/CMakeLists.txt b/intern/mantaflow/CMakeLists.txt
index b2a0ab30a0c..d9b64b3a199 100644
--- a/intern/mantaflow/CMakeLists.txt
+++ b/intern/mantaflow/CMakeLists.txt
@@ -28,6 +28,8 @@ add_definitions(-DWITH_FLUID=1)
if(WITH_OPENVDB)
add_definitions(-DOPENVDB=1)
add_definitions(-DOPENVDB_STATICLIB)
+else()
+ add_definitions(-DOPENVDB=0)
endif()
if(WIN32)