Add a new registry key to check for the location of MPICH2.
This commit is contained in:
parent
a4f798d3f7
commit
01f022c49c
|
@ -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})
|
||||||
|
|
Loading…
Reference in New Issue