From c45231c41f1bd006e19b42e8b7a0e369c08f2ede Mon Sep 17 00:00:00 2001 From: maier Date: Wed, 4 Jun 2014 17:43:40 +0000 Subject: [PATCH] CMake: Do not forget to clear some cached variables git-svn-id: https://svn.dealii.org/trunk@33015 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/modules/FindMPI.cmake | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/deal.II/cmake/modules/FindMPI.cmake b/deal.II/cmake/modules/FindMPI.cmake index 111c75a58e..cf1671594c 100644 --- a/deal.II/cmake/modules/FindMPI.cmake +++ b/deal.II/cmake/modules/FindMPI.cmake @@ -152,12 +152,14 @@ DEAL_II_PACKAGE_HANDLE(MPI CXX_FLAGS OPTIONAL MPI_CXX_COMPILE_FLAGS LINKER_FLAGS OPTIONAL MPI_CXX_LINK_FLAGS CLEAR - MPI_MPI_H - MPI_HEADER_PATH - MPI_LIB - MPIEXEC - MPI_CXX_COMPILER MPI_C_COMPILER + MPI_CXX_COMPILER + MPIEXEC + MPI_EXTRA_LIBRARY MPI_Fortran_COMPILER + MPI_HEADER_PATH + MPI_LIB + MPI_LIBRARY + MPI_MPI_H ) -- 2.39.5