diff options
author | Brad King <brad.king@kitware.com> | 2015-07-13 13:17:44 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-13 13:17:44 (GMT) |
commit | 93bd1540756ec9cfb60cf9bbac57beedf9bd3433 (patch) | |
tree | 5bf22166769ef309c06f0dd05580ff6b3cfaa855 /Modules | |
parent | fdfa89d9f5d0e2001ffb1d75810acc402c92f117 (diff) | |
parent | cfd23d3f1ff2fbbaa187928348d49fb463607b42 (diff) | |
download | CMake-93bd1540756ec9cfb60cf9bbac57beedf9bd3433.zip CMake-93bd1540756ec9cfb60cf9bbac57beedf9bd3433.tar.gz CMake-93bd1540756ec9cfb60cf9bbac57beedf9bd3433.tar.bz2 |
Merge topic 'FindMPI-Intel-5'
cfd23d3f FindMPI: Extend Intel-MPI 5+ workaround for recent GCCs
Diffstat (limited to 'Modules')
-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 545b077..06ecfaa 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -204,7 +204,7 @@ function (_mpi_check_compiler compiler options cmdvar resvar) # Intel MPI 5.0.1 will return a zero return code even when the # argument to the MPI compiler wrapper is unknown. Attempt to # catch this case. - if("${cmdline}" MATCHES "undefined reference") + if(cmdline MATCHES "undefined reference" OR cmdline MATCHES "unrecognized") set(success 255 ) endif() set(${cmdvar} "${cmdline}" PARENT_SCOPE) |