summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-13 12:51:00 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-13 12:51:00 (GMT)
commit13f5f066ff0cd004b74b10550237749984189b72 (patch)
treea55a8f8a60a264ffda289783d7c12e5165db1c21
parent6c16bd53882052f96182ef5aec4ecb2485321991 (diff)
parentcfd23d3f1ff2fbbaa187928348d49fb463607b42 (diff)
downloadCMake-13f5f066ff0cd004b74b10550237749984189b72.zip
CMake-13f5f066ff0cd004b74b10550237749984189b72.tar.gz
CMake-13f5f066ff0cd004b74b10550237749984189b72.tar.bz2
Merge branch 'FindMPI-Intel-5' into release
-rw-r--r--Modules/FindMPI.cmake2
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)