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

fix for serial petsc 3.4

parent 7e816d3c
No related branches found
No related tags found
No related merge requests found
......@@ -873,6 +873,9 @@ if(HAVE_SOLVER)
PETSC_VARIABLES NEWLINE_CONSUME)
# find include directories
list(APPEND EXTERNAL_INCLUDES ${ENV_PETSC_DIR}/include)
if(NOT HAVE_MPI) # necessary for PETSC >= 3.4
list(APPEND EXTERNAL_INCLUDES ${ENV_PETSC_DIR}/include/mpiuni)
endif(NOT HAVE_MPI)
list(APPEND EXTERNAL_INCLUDES ${ENV_PETSC_DIR}/${ENV_PETSC_ARCH}/include)
string(REGEX MATCH "PACKAGES_INCLUDES = [^\n\r]*" PETSC_PACKAGES_INCLUDES
${PETSC_VARIABLES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment