From: Matthias Maier Date: Tue, 6 Nov 2012 10:42:58 +0000 (+0000) Subject: Augment search for SLEPC X-Git-Tag: v8.0.0~1079^2~322 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cda5f5380e28ae3d2ef8cadf74a30172571b34c3;p=dealii.git Augment search for SLEPC git-svn-id: https://svn.dealii.org/branches/branch_cmake@27421 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/modules/FindSLEPC.cmake b/deal.II/cmake/modules/FindSLEPC.cmake index b9c35f8e26..fb4d5a9bfb 100644 --- a/deal.II/cmake/modules/FindSLEPC.cmake +++ b/deal.II/cmake/modules/FindSLEPC.cmake @@ -32,6 +32,7 @@ INCLUDE(FindPackageHandleStandardArgs) SET_IF_EMPTY(SLEPC_DIR "$ENV{SLEPC_DIR}") SET_IF_EMPTY(SLEPC_ARCH "$ENV{SLEPC_ARCH}") SET_IF_EMPTY(PETSC_DIR "$ENV{PETSC_DIR}") +SET_IF_EMPTY(PETSC_ARCH "$ENV{PETSC_ARCH}") # # Luckily, SLEPc wants the same insanity as PETSc, so we can just copy the @@ -44,6 +45,7 @@ FIND_LIBRARY(SLEPC_LIBRARIES # SLEPC is special. Account for that ${SLEPC_DIR} ${SLEPC_DIR}/${SLEPC_ARCH} + ${SLEPC_DIR}/${PETSC_ARCH} ${PETSC_DIR} PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib ) @@ -62,6 +64,7 @@ FIND_PATH(SLEPC_INCLUDE_DIR_ARCH slepcconf.h # SLEPC is special. Account for that ${SLEPC_DIR} ${SLEPC_DIR}/${SLEPC_ARCH} + ${SLEPC_DIR}/${PETSC_ARCH} ${SLEPC_INCLUDE_DIRS} ${PETSC_DIR} PATH_SUFFIXES slepc include include/slepc @@ -84,6 +87,7 @@ FIND_PATH(SLEPC_INCLUDE_DIR_COMMON slepcversion.h HINTS ${SLEPC_DIR} ${SLEPC_DIR}/${SLEPC_ARCH} + ${SLEPC_DIR}/${PETSC_ARCH} ${SLEPC_INCLUDE_DIRS} ${PETSC_DIR} PATH_SUFFIXES slepc include include/slepc