diff options
author | David Partyka <david.partyka@kitware.com> | 2010-03-11 15:42:07 (GMT) |
---|---|---|
committer | David Partyka <david.partyka@kitware.com> | 2010-03-11 15:42:07 (GMT) |
commit | 01f022c49c4c8daa830ad7d8fa44fa8c702bcf87 (patch) | |
tree | d244a7dc11413de7564c647bdf919ad87bb7250c /Modules/FindMPI.cmake | |
parent | a4f798d3f7c852605e73e7217c22bb19c271c7ad (diff) | |
download | CMake-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.cmake | 1 |
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}) |