From: Matthias Maier <tamiko@43-1.org>
Date: Sun, 6 May 2018 16:05:50 +0000 (-0500)
Subject: CMake: Remove obsolete code from configure_slepc.cmake
X-Git-Tag: v9.1.0-rc1~1197^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b81fa289e085b86955101588716f1686bae0b6d3;p=dealii.git

CMake: Remove obsolete code from configure_slepc.cmake

Our DEAL_II_PACKAGE_HANDLE macro already takes care of that. No need to
do that by hand.
---

diff --git a/cmake/configure/configure_slepc.cmake b/cmake/configure/configure_slepc.cmake
index 35d139e240..cfb962d82b 100644
--- a/cmake/configure/configure_slepc.cmake
+++ b/cmake/configure/configure_slepc.cmake
@@ -44,14 +44,6 @@ MACRO(FEATURE_SLEPC_FIND_EXTERNAL var)
         "The SLEPc library must have the same version as the PETSc library.\n"
         )
 
-      UNSET(SLEPC_INCLUDE_DIR_ARCH CACHE)
-      UNSET(SLEPC_INCLUDE_DIR_COMMON CACHE)
-      UNSET(SLEPC_LIBRARY CACHE)
-      SET(SLEPC_DIR "" CACHE PATH
-        "An optional hint to a SLEPc directory"
-        )
-      MARK_AS_ADVANCED(CLEAR SLEPC_DIR)
-
       SET(${var} FALSE)
     ENDIF()
   ENDIF()