diff options
| author | Brad King <brad.king@kitware.com> | 2020-01-21 15:38:16 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2020-01-21 15:41:20 (GMT) |
| commit | 8217a26d29f366e85eafb07711c1fbd449fe3588 (patch) | |
| tree | 483a95ff96eb89620d1d378455472bf2eca853c3 /Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h | |
| parent | 320ad3f31f7184e82e6fe38afa69d0066d796788 (diff) | |
| download | CMake-8217a26d29f366e85eafb07711c1fbd449fe3588.zip CMake-8217a26d29f366e85eafb07711c1fbd449fe3588.tar.gz CMake-8217a26d29f366e85eafb07711c1fbd449fe3588.tar.bz2 | |
FindMPI: Fix regression when compiling with MPI wrappers
The change in commit 5861c6d450 (FindMPI: Preserve include order when
extracting component directories, 2019-12-19) converted a CMake-language
function to a macro. However, it contains a `return()` call that now
applies in the caller's scope, which is in correct. The `return()` is
meant to skip work when using a MPI compiler wrapper as the main
compiler. Move that condition to the call site instead.
Fixes: #20234
Diffstat (limited to 'Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions
