From 01f022c49c4c8daa830ad7d8fa44fa8c702bcf87 Mon Sep 17 00:00:00 2001 From: David Partyka Date: Thu, 11 Mar 2010 10:42:07 -0500 Subject: [PATCH] Add a new registry key to check for the location of MPICH2. --- Modules/FindMPI.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 094f9e6c6..481b0e994 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})