diff options
author | David Cole <david.cole@kitware.com> | 2012-09-28 19:45:21 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-09-28 19:45:21 (GMT) |
commit | 908f46a161683ed2cb0de61eb54f74ae665511ef (patch) | |
tree | afd679323f2db73137e4d8e76b74f19decd57e0c | |
parent | eaba65e308b06d478eda4ef80247c2319a3840ab (diff) | |
parent | 8b7a5c616642d4636cb1c6ebfae1f16af0d6d606 (diff) | |
download | CMake-908f46a161683ed2cb0de61eb54f74ae665511ef.zip CMake-908f46a161683ed2cb0de61eb54f74ae665511ef.tar.gz CMake-908f46a161683ed2cb0de61eb54f74ae665511ef.tar.bz2 |
Merge topic 'fix-13549-make-findmpi-quiet'
8b7a5c6 FindMPI: Set correct variables for calls to FPHSA
-rw-r--r-- | Modules/FindMPI.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index ae50ca7..4ce4de9 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -576,6 +576,11 @@ foreach (lang C CXX Fortran) try_regular_compiler(${lang} regular_compiler_worked) endif() + set(MPI_${lang}_FIND_QUIETLY ${MPI_FIND_QUIETLY}) + set(MPI_${lang}_FIND_REQUIRED ${MPI_FIND_REQUIRED}) + set(MPI_${lang}_FIND_VERSION ${MPI_FIND_VERSION}) + set(MPI_${lang}_FIND_VERSION_EXACT ${MPI_FIND_VERSION_EXACT}) + if (regular_compiler_worked) find_package_handle_standard_args(MPI_${lang} DEFAULT_MSG MPI_${lang}_COMPILER) else() |