From: Szilard Pall Date: Thu, 22 Nov 2012 03:33:57 +0000 (+0100) Subject: unset MPI detection leftover cache variables X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=92b8d2699cb74b9aedf973a175f613edf00c374a;p=alexxy%2Fgromacs.git unset MPI detection leftover cache variables 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 --- diff --git a/cmake/gmxManageMPI.cmake b/cmake/gmxManageMPI.cmake index 49868cb467..c025192465 100644 --- a/cmake/gmxManageMPI.cmake +++ b/cmake/gmxManageMPI.cmake @@ -74,7 +74,7 @@ if(GMX_MPI) 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. @@ -107,7 +107,7 @@ if(GMX_MPI) unset(MVAPICH2_EXEC_RETURN) endif() endif() - unset(MPINAME_BIN) + unset(MPINAME_BIN CACHE) else(MPI_FOUND) if (CMAKE_VERSION VERSION_LESS "2.8.5")