From c01c7f6a7208b1d485948f91b2346e5340bb39a8 Mon Sep 17 00:00:00 2001 From: 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