From 009f9355909156bf688e215537c80a4107ae6183 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 25 Feb 2017 18:59:36 +0300 Subject: [PATCH] corrected cmake scripts so that they are capable of finding existing PETSC and SLEPC installations. Signed-off-by: Matthias Maier --- cmake/modules/FindPETSC.cmake | 2 +- cmake/modules/FindSLEPC.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.39.5