diff options
author | Brad King <brad.king@kitware.com> | 2024-04-01 16:11:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-04-01 16:11:32 (GMT) |
commit | e6dee2a4bd054b0826e38ff81440d5c1e80069bb (patch) | |
tree | 88d1e1bb83a5e347d787aeb22c621263a8f0f6f8 /Modules | |
parent | 951f75f3b2e0a31957c0c492ff2d5c7c51716106 (diff) | |
download | CMake-e6dee2a4bd054b0826e38ff81440d5c1e80069bb.zip CMake-e6dee2a4bd054b0826e38ff81440d5c1e80069bb.tar.gz CMake-e6dee2a4bd054b0826e38ff81440d5c1e80069bb.tar.bz2 |
FindMPI: Fix finding IntelLLVM wrappers on Windows
In commit 5e700411d2 (FindMPI: add IntelLLVM MPI wrappers, 2024-01-19,
v3.29.0-rc1~92^2) we added `mpiicpx.bat` for C++ on Windows, but that is
a GNU-like front-end that we do not yet support. Use `mpiicx.bat` for
both C and C++ on Windows, just as we use `icx` to compile both.
Fixes: #25807
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindMPI.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 834a3e1..7aa371a 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -302,7 +302,7 @@ if(WIN32) # Intel MPI compiler names set(_MPI_IntelLLVM_C_COMPILER_NAMES mpiicx.bat mpiicc.bat) - set(_MPI_IntelLLVM_CXX_COMPILER_NAMES mpiicpx.bat mpiicpc.bat) + set(_MPI_IntelLLVM_CXX_COMPILER_NAMES mpiicx.bat mpiicpc.bat) # Not GNU-like mpiicpx.bat set(_MPI_IntelLLVM_Fortran_COMPILER_NAMES mpiifx.bat mpiifort.bat mpif77.bat mpif90.bat) # Intel MPI compiler names for MSMPI |