Commit b5561673 authored by Kilian Lackhove's avatar Kilian Lackhove Committed by Chris Cantwell

fix PETSc build without MPI on version 1.7.2

Thanks to Douglas for pointing out this solution

(cherry picked from commit f44e8c6f)
parent 295d2409
......@@ -92,7 +92,7 @@ IF (NEKTAR_USE_PETSC)
ADD_DEFINITIONS(-DNEKTAR_USING_PETSC)
INCLUDE_DIRECTORIES(SYSTEM ${PETSC_INCLUDES})
IF (NOT NEKTAR_USE_MPI)
INCLUDE_DIRECTORIES(SYSTEM ${PETSC_INCLUDES}/mpiuni)
INCLUDE_DIRECTORIES(SYSTEM ${PETSC_INCLUDES}/petsc/mpiuni)
ENDIF (NOT NEKTAR_USE_MPI)
MARK_AS_ADVANCED(PETSC_CURRENT PETSC_DIR PETSC_LIBRARIES PETSC_INCLUDES)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment