Add a new registry key to check for the location of MPICH2.

This commit is contained in:
David Partyka 2010-03-11 10:42:07 -05:00
parent a4f798d3f7
commit 01f022c49c
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ set(_MPI_PACKAGE_DIR
set(_MPI_PREFIX_PATH) set(_MPI_PREFIX_PATH)
if(WIN32) if(WIN32)
list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH\\SMPD;binary]/..") list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH\\SMPD;binary]/..")
list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH2;Path]")
endif() endif()
foreach(SystemPrefixDir ${CMAKE_SYSTEM_PREFIX_PATH}) foreach(SystemPrefixDir ${CMAKE_SYSTEM_PREFIX_PATH})