Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.
[blender.git] / intern / mantaflow / CMakeLists.txt
index 2d49f96a451cc46004c1d318843c8f52e5266e47..b2a0ab30a0c2d9958f8336c7b36c57be621c2498 100644 (file)
@@ -30,6 +30,11 @@ if(WITH_OPENVDB)
   add_definitions(-DOPENVDB_STATICLIB)
 endif()
 
+if(WIN32)
+  add_definitions(-D_USE_MATH_DEFINES)
+endif()
+
+
 set(INC
   extern
   intern/strings