The MPI_INFO_BIN and MPINAME_BIN variables can be left in the cache
as non-advanced variables because these are results of find_file search.
Change-Id: Id4978ab75680eab6246f25e02e3785412b6d75ac
unset(OPENMPI_EXEC_RETURN)
endif()
endif()
- unset(MPI_INFO_BIN)
+ unset(MPI_INFO_BIN CACHE)
# Execute the mpiname binary with the full path of the compiler wrapper
# found, otherwise we run the risk of false positives.
unset(MVAPICH2_EXEC_RETURN)
endif()
endif()
- unset(MPINAME_BIN)
+ unset(MPINAME_BIN CACHE)
else(MPI_FOUND)
if (CMAKE_VERSION VERSION_LESS "2.8.5")