diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-12-09 09:27:30 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-01-14 17:25:49 -0500 |
commit | be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959 (patch) | |
tree | 21aa9d2293c10d4cfff53b971c49768cf8a95589 /Modules/FindMPI.cmake | |
parent | ee4673c1ae1e4a1aa4687412717567c2ffbb501b (diff) | |
download | cmake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.gz |
FPHSA: acknowledge the name mismatches in CMake-owned modules
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r-- | Modules/FindMPI.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index d1257c945b..f79ee630b6 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -1644,7 +1644,8 @@ foreach(LANG IN ITEMS C CXX Fortran) list(APPEND MPI_${LANG}_REQUIRED_VARS "MPI_${LANG}_WORKS") endif() endif() - find_package_handle_standard_args(MPI_${LANG} REQUIRED_VARS ${MPI_${LANG}_REQUIRED_VARS} + find_package_handle_standard_args(MPI_${LANG} NAME_MISMATCHED + REQUIRED_VARS ${MPI_${LANG}_REQUIRED_VARS} VERSION_VAR MPI_${LANG}_VERSION) if(DEFINED MPI_${LANG}_VERSION) |