From 763f117c480e508e6a9bf3c53b929630879bdfc1 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Thu, 6 Feb 2020 13:44:30 -0700 Subject: [PATCH] Fix: Build error on windows in bf_intern_mantaflow bf_intern_mantaflow lacked the `-DOPENVDB_STATICLIB` define causing it to dynamically import openvdb, linked against our static libs a happy time was not had by the linker. --- intern/mantaflow/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/intern/mantaflow/CMakeLists.txt b/intern/mantaflow/CMakeLists.txt index a3d891907a9..2d49f96a451 100644 --- a/intern/mantaflow/CMakeLists.txt +++ b/intern/mantaflow/CMakeLists.txt @@ -27,6 +27,7 @@ add_definitions(-DWITH_FLUID=1) if(WITH_OPENVDB) add_definitions(-DOPENVDB=1) + add_definitions(-DOPENVDB_STATICLIB) endif() set(INC