FindMPI.cmake Configuration Error with Compiler ID Checks
Encountered an issue in the CMake configuration script of FindMPI.cmake where the conditional check for compiler IDs seems to incorrectly handle or parse the compiler ID, leading to unexpected behavior or a configuration error see https://gitlab.kitware.com/cmake/cmake/-/blob/v3.29.0/Modules/FindMPI.cmake#L351-352
Suggested Fix:
foreach (id IN ITEMS Fujitsu FujitsuClang GNU Intel IntelLLVM MSVC PGI XL)
if (NOT CMAKE_${LANG}_COMPILER_ID OR CMAKE_${LANG}_COMPILER_ID STREQUAL ${id})
Edited by Brad King