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

fix for petsc 3.4 does not seem to work everywhere

parent e9e45cea
Branches
Tags
No related merge requests found
......@@ -873,9 +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)
#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