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:
-rw-r--r--extern/mantaflow/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/extern/mantaflow/CMakeLists.txt b/extern/mantaflow/CMakeLists.txt
index c1fa13420b8..3220a45bef4 100644
--- a/extern/mantaflow/CMakeLists.txt
+++ b/extern/mantaflow/CMakeLists.txt
@@ -133,6 +133,14 @@ if(WITH_OPENVDB)
list(APPEND LIB
${OPENVDB_LIBRARIES}
)
+ if(WIN32)
+ # OpenVDB emits lots of these, they should be suppressed through other
+ # means but MSVC 16.8/16.9 has broken this functionality, so C4251 is
+ # suppressed here explicitly. See
+ # https://developercommunity.visualstudio.com/content/problem/1167590/bug.html
+ # for details.
+ string(APPEND CMAKE_CXX_FLAGS " /wd4251")
+ endif()
endif()
set(SRC