Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
f44e8c6f
Commit
f44e8c6f
authored
Jul 07, 2016
by
Kilian Lackhove
Browse files
fix PETSc build without MPI on version 1.7.2
Thanks to Douglas for pointing out this solution
parent
b6ce28d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/ThirdPartyPETSc.cmake
View file @
f44e8c6f
...
...
@@ -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
)
...
...
Kilian Lackhove
@lackhove
mentioned in commit
b5561673
·
Jul 13, 2016
mentioned in commit
b5561673
mentioned in commit b5561673655e839602aa8c3408ebcf6cd83bd6a5
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment