Skip to content
Snippets Groups Projects
Commit f004da8e authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix slepc search

parent 0ac42d9c
Branches
Tags
No related merge requests found
......@@ -684,8 +684,8 @@ if(ENABLE_SLEPC AND HAVE_PETSC)
set(ENV_SLEPC_DIR $ENV{SLEPC_DIR})
find_library(SLEPC_LIB slepc PATHS ${ENV_SLEPC_DIR}/${ENV_PETSC_ARCH}/lib)
if(SLEPC_LIB)
find_path(SLPEC_INC "slepc.h" PATHS ${ENV_SLEPC_DIR}/${ENV_SLEPC_ARCH}
PATH_SUFFIXES include include/slepc)
find_path(SLEPC_INC "slepc.h" PATHS ${ENV_SLEPC_DIR} PATH_SUFFIXES include
${ENV_PETSC_ARCH}/include include/slepc)
if(SLEPC_INC)
set_config_option(HAVE_SLEPC "SLEPc")
list(APPEND EXTERNAL_LIBRARIES ${SLEPC_LIB})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment