CMake repeatedly fails to find MPI libraries, succeeds after multiple runs
I’m trying to compile the Elmer FEM repository inside the “MSYS2 MinGW 64-bit” environment on Windows. I’m encountering a bizarre issue where CMake fails to find MPI libraries on the first few runs but eventually succeeds without any changes to the command or environment.