]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Remove obsolete code from configure_slepc.cmake 6497/head
authorMatthias Maier <tamiko@43-1.org>
Sun, 6 May 2018 16:05:50 +0000 (11:05 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 6 May 2018 16:05:50 +0000 (11:05 -0500)
Our DEAL_II_PACKAGE_HANDLE macro already takes care of that. No need to
do that by hand.

cmake/configure/configure_slepc.cmake

index 35d139e240426cad9714d0bf3416d9ce9071839c..cfb962d82b8faf9e56458dd808112fb06579b148 100644 (file)
@@ -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()

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.