diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-12-09 14:27:30 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-01-14 22:25:49 (GMT) |
commit | be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959 (patch) | |
tree | 21aa9d2293c10d4cfff53b971c49768cf8a95589 /Modules/FindMPI.cmake | |
parent | ee4673c1ae1e4a1aa4687412717567c2ffbb501b (diff) | |
download | CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.zip CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.gz CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.bz2 |
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 d1257c9..f79ee63 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) |