summaryrefslogtreecommitdiff
path: root/Modules/FindMPI.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-12-09 09:27:30 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2020-01-14 17:25:49 -0500
commitbe4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959 (patch)
tree21aa9d2293c10d4cfff53b971c49768cf8a95589 /Modules/FindMPI.cmake
parentee4673c1ae1e4a1aa4687412717567c2ffbb501b (diff)
downloadcmake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.gz
FPHSA: acknowledge the name mismatches in CMake-owned modules
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r--Modules/FindMPI.cmake3
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)