From fc81eb74e7f9bdce239d745bfbc0cbf581eb075d Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Mon, 24 Feb 2020 12:30:56 +0100 Subject: 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 --- intern/mantaflow/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern') 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) -- cgit v1.2.3