Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.
[blender.git] / extern / mantaflow / CMakeLists.txt
index d2f78f7ab6c1d8ebab329b88a35f95e27086af58..99d985578bd24080784c09bb780f8b270e0a262f 100644 (file)
@@ -54,6 +54,10 @@ if(WITH_OPENVDB)
   add_definitions(-DOPENVDB_STATICLIB)
 endif()
 
+if(WIN32)
+  add_definitions(-D_USE_MATH_DEFINES)
+endif()
+
 set(INC
   ${MANTA_PP}
   ${MANTA_PP}/fileio