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

No commit message

No commit message
parent 8d4edc57
No related branches found
No related tags found
No related merge requests found
......@@ -635,7 +635,6 @@ if(ENABLE_PETSC)
if(NOT PETSC_LIBS)
find_library(PETSC_LIBS petsc PATHS ${ENV_PETSC_DIR}/${ENV_PETSC_ARCH}/lib)
endif(NOT PETSC_LIBS)
list(APPEND EXTERNAL_LIBRARIES ${PETSC_LIBS})
# find slepc
if(ENABLE_SLEPC)
set(ENV_SLEPC_DIR $ENV{SLEPC_DIR})
......@@ -646,6 +645,7 @@ if(ENABLE_PETSC)
list(APPEND EXTERNAL_INCLUDES ${ENV_SLEPC_DIR}/include)
endif(SLEPC_LIB)
endif(ENABLE_SLEPC)
list(APPEND EXTERNAL_LIBRARIES ${PETSC_LIBS})
# find additional libraries to link with
string(REGEX MATCH "PACKAGES_LIBS = [^\n\r]*" PLIBS ${PETSC_VARIABLES})
string(REPLACE "PACKAGES_LIBS = " "" PLIBS ${PLIBS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment