diff options
author | Brad King <brad.king@kitware.com> | 2017-11-16 15:50:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-16 15:50:39 (GMT) |
commit | 5b34fb20215b0b925357b98c9ae77b04ef7b2816 (patch) | |
tree | 2d2624a1c9148bc226f40c76c7ce65c1a45eebfe | |
parent | 8f9301ba255a75956eb80942686808e8f4b114ce (diff) | |
parent | 1615cdedf5ed1566c9fcc887a4c20ebba6945bf8 (diff) | |
download | CMake-5b34fb20215b0b925357b98c9ae77b04ef7b2816.zip CMake-5b34fb20215b0b925357b98c9ae77b04ef7b2816.tar.gz CMake-5b34fb20215b0b925357b98c9ae77b04ef7b2816.tar.bz2 |
Merge topic 'fmpi-command-not-found'
1615cded FindMPI: Treat 'command not found' as an error
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1483
-rw-r--r-- | Modules/FindMPI.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 7f4c44c..3320a07 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -346,7 +346,7 @@ function (_MPI_check_compiler LANG QUERY_FLAG OUTPUT_VARIABLE RESULT_VARIABLE) # library that has invalid or missing version information there would be warning # messages emitted by ld.so in the compiler output. In either case, we'll treat # the output as invalid. - if("${WRAPPER_OUTPUT}" MATCHES "undefined reference|unrecognized|need to set|no version information available") + if("${WRAPPER_OUTPUT}" MATCHES "undefined reference|unrecognized|need to set|no version information available|command not found") set(WRAPPER_RETURN 255) endif() # Ensure that no error output might be passed upwards. |