]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Unset a cached variable if package is unsuitable
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 24 Oct 2013 20:14:45 +0000 (20:14 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 24 Oct 2013 20:14:45 +0000 (20:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@31409 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_2_petsc.cmake

index 23465a2eb088e9e7b27aa94d8b366ee8823d6aef..c1c71a4a83050e62cec88ef3b9ac532c7c5b8304 100644 (file)
@@ -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"
         )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.