summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-16 15:50:36 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-16 15:50:39 (GMT)
commit5b34fb20215b0b925357b98c9ae77b04ef7b2816 (patch)
tree2d2624a1c9148bc226f40c76c7ce65c1a45eebfe /Modules
parent8f9301ba255a75956eb80942686808e8f4b114ce (diff)
parent1615cdedf5ed1566c9fcc887a4c20ebba6945bf8 (diff)
downloadCMake-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
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindMPI.cmake2
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.