From: Stefano Zampini Date: Sat, 8 Apr 2023 11:35:46 +0000 (+0300) Subject: some more info about SLEPc-PETSc misaligned versions X-Git-Tag: v9.5.0-rc1~348^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15064%2Fhead;p=dealii.git some more info about SLEPc-PETSc misaligned versions --- diff --git a/cmake/configure/configure_50_slepc.cmake b/cmake/configure/configure_50_slepc.cmake index 3dc135565a..44fa72de70 100644 --- a/cmake/configure/configure_50_slepc.cmake +++ b/cmake/configure/configure_50_slepc.cmake @@ -35,9 +35,13 @@ macro(feature_slepc_find_external var) ("${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 must have the same version as the PETSc library." + "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: "