From dfc96b6a50a6a555f34b9b411ed105f9dde92a87 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 24 Oct 2013 20:14:45 +0000 Subject: [PATCH] Bugfix: Unset a cached variable if package is unsuitable git-svn-id: https://svn.dealii.org/trunk@31409 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/configure/configure_2_petsc.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/deal.II/cmake/configure/configure_2_petsc.cmake b/deal.II/cmake/configure/configure_2_petsc.cmake index 23465a2eb0..c1c71a4a83 100644 --- a/deal.II/cmake/configure/configure_2_petsc.cmake +++ b/deal.II/cmake/configure/configure_2_petsc.cmake @@ -98,6 +98,7 @@ MACRO(FEATURE_PETSC_FIND_EXTERNAL var) UNSET(PETSC_INCLUDE_DIR_ARCH CACHE) UNSET(PETSC_INCLUDE_DIR_COMMON CACHE) UNSET(PETSC_LIBRARY CACHE) + UNSET(PETSC_PETSCVARIABLES CACHE) SET(PETSC_DIR "" CACHE PATH "An optional hint to a PETSc directory" ) -- 2.39.5