summaryrefslogtreecommitdiffstats
path: root/Modules/FindMPI.cmake
diff options
context:
space:
mode:
authorDavid Partyka <david.partyka@kitware.com>2010-03-11 15:42:07 (GMT)
committerDavid Partyka <david.partyka@kitware.com>2010-03-11 15:42:07 (GMT)
commit01f022c49c4c8daa830ad7d8fa44fa8c702bcf87 (patch)
treed244a7dc11413de7564c647bdf919ad87bb7250c /Modules/FindMPI.cmake
parenta4f798d3f7c852605e73e7217c22bb19c271c7ad (diff)
downloadCMake-01f022c49c4c8daa830ad7d8fa44fa8c702bcf87.zip
CMake-01f022c49c4c8daa830ad7d8fa44fa8c702bcf87.tar.gz
CMake-01f022c49c4c8daa830ad7d8fa44fa8c702bcf87.tar.bz2
Add a new registry key to check for the location of MPICH2.
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r--Modules/FindMPI.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake
index 094f9e6..481b0e9 100644
--- a/Modules/FindMPI.cmake
+++ b/Modules/FindMPI.cmake
@@ -86,6 +86,7 @@ set(_MPI_PACKAGE_DIR
set(_MPI_PREFIX_PATH)
if(WIN32)
list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH\\SMPD;binary]/..")
+ list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH2;Path]")
endif()
foreach(SystemPrefixDir ${CMAKE_SYSTEM_PREFIX_PATH})