Description: remove SLEPc version constraint
Author: Matthias Maier <tamiko+DEBIAN@kyomu.43-1.org>
Last-Update: 2023-08-14

Index: deal.ii/cmake/configure/configure_50_slepc.cmake
===================================================================
--- deal.ii.orig/cmake/configure/configure_50_slepc.cmake	2024-09-27 11:13:09.894227424 -0500
+++ deal.ii/cmake/configure/configure_50_slepc.cmake	2024-09-27 11:13:09.890894093 -0500
@@ -19,40 +19,6 @@
 set(FEATURE_SLEPC_DEPENDS PETSC)
 
 
-macro(feature_slepc_find_external var)
-  find_package(DEAL_II_SLEPC)
-
-  if(SLEPC_FOUND)
-    #
-    # Check whether SLEPc and PETSc are compatible according to
-    # SLEPc's rules: This is equivalent to asking if the VERSION_MAJOR
-    # and VERSION_MINOR of PETSc and SLEPc are
-    # equivalent; and where VERSION_SUBMINORs are allowed to differ.
-    #
-    if( ("${SLEPC_VERSION_MAJOR}" STREQUAL "${PETSC_VERSION_MAJOR}")
-       AND
-       ("${SLEPC_VERSION_MINOR}" STREQUAL "${PETSC_VERSION_MINOR}"))
-      set(${var} TRUE)
-    else()
-      set(SLEPC_VERSION_STR "${SLEPC_VERSION_MAJOR}.${SLEPC_VERSION_MINOR}")
-      set(PETSC_VERSION_STR "${PETSC_VERSION_MAJOR}.${PETSC_VERSION_MINOR}")
-      message(STATUS "Could not find a sufficient SLEPc installation: "
-        "The SLEPc library "
-        ${SLEPC_VERSION_STR}
-        " must have the same version as the PETSc library "
-        ${PETSC_VERSION_STR}
-        )
-      set(SLEPC_ADDITIONAL_ERROR_STRING
-        "Could not find a sufficient SLEPc installation: "
-        "The SLEPc library must have the same version as the PETSc library.\n"
-        )
-
-      set(${var} FALSE)
-    endif()
-  endif()
-endmacro()
-
-
 macro(feature_slepc_error_message)
   message(FATAL_ERROR "\n"
     "Could not find the SLEPc library!\n"
