libmedc is built with openMPI, while freeCAD selects hdf5-serial. libmed declares functions prototypes which has MPI parameters if built for openMPI, causing compilation errors. Doing some online searches reveals that some users manually changes the include-paths to hdf5-openmpi if this error happens. This patch tries to autodetect this situation.
2.1 KiB
2.1 KiB