diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-02-06 23:44:30 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-02-06 23:44:30 +0300 |
commit | 763f117c480e508e6a9bf3c53b929630879bdfc1 (patch) | |
tree | 0e910fc76d6d6ebf76f0bd433496f4a673d39a7d /intern | |
parent | f8756554180e583ea765eca4e3931d1bda84ebd9 (diff) |
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.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/mantaflow/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |