From d57593ba64b1def959384eb1d41da07e132bf927 Mon Sep 17 00:00:00 2001 From: Stefano Zampini Date: Sat, 8 Apr 2023 14:35:46 +0300 Subject: [PATCH] some more info about SLEPc-PETSc misaligned versions --- cmake/configure/configure_50_slepc.cmake | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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: " -- 2.39.5