From: alex Date: Sat, 25 Feb 2017 15:59:36 +0000 (+0300) Subject: corrected cmake scripts so that they are capable of finding existing PETSC and SLEPC... X-Git-Tag: v8.5.0-rc1~77^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=009f9355909156bf688e215537c80a4107ae6183;p=dealii.git corrected cmake scripts so that they are capable of finding existing PETSC and SLEPC installations. Signed-off-by: Matthias Maier --- diff --git a/cmake/modules/FindPETSC.cmake b/cmake/modules/FindPETSC.cmake index cc4eb3678b..d71ad80d03 100644 --- a/cmake/modules/FindPETSC.cmake +++ b/cmake/modules/FindPETSC.cmake @@ -38,7 +38,7 @@ SET_IF_EMPTY(PETSC_DIR "$ENV{PETSC_DIR}") SET_IF_EMPTY(PETSC_ARCH "$ENV{PETSC_ARCH}") DEAL_II_FIND_LIBRARY(PETSC_LIBRARY - NAMES petsc + NAMES petsc libpetsc HINTS ${PETSC_DIR} ${PETSC_DIR}/${PETSC_ARCH} PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib ) diff --git a/cmake/modules/FindSLEPC.cmake b/cmake/modules/FindSLEPC.cmake index 2df9257468..d4420c419d 100644 --- a/cmake/modules/FindSLEPC.cmake +++ b/cmake/modules/FindSLEPC.cmake @@ -39,7 +39,7 @@ SET_IF_EMPTY(PETSC_ARCH "$ENV{PETSC_ARCH}") # DEAL_II_FIND_LIBRARY(SLEPC_LIBRARY - NAMES slepc + NAMES slepc libslepc HINTS ${SLEPC_DIR} ${SLEPC_DIR}/${PETSC_ARCH} ${PETSC_DIR} PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib )