cmake: set MSMPI_VER when using Microsoft's MPI
The mpi4py code expects the preprocessor symbol MSMPI_VER to give the msmpi version in hexadecimal. If this isn't set correctly, then mpi4py on Windows gives errors like the following:
<some type> size changed, may indicate binary incompatibility.
Expected 40 from C header, got 48 from PyObject
The new cmake code gets the msmpi version from the registry, since this is what the mpi4py setup.py script does.
MR for VTK: vtk/vtk!11647 (merged)
Edited by David Gobbi