Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_pdata
Commits
aa6988ba
Commit
aa6988ba
authored
Dec 25, 2018
by
incardon
Browse files
Fixing detection of PETSC
parent
7f367f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake_modules/FindPETSc.cmake
View file @
aa6988ba
...
...
@@ -175,6 +175,9 @@ show :
# We are done with the temporary Makefile, calling PETSC_GET_VARIABLE after this point is invalid!
file
(
REMOVE
${
petsc_config_makefile
}
)
execute_process
(
COMMAND
${
MPI_C_COMPILER
}
--showme:compile OUTPUT_VARIABLE mpi_compile_options ERROR_VARIABLE mpi_compile_error
)
set
(
petsc_cpp_line
${
petsc_cpp_line
}
${
mpi_compile_options
}
)
include
(
ResolveCompilerPaths
)
# Extract include paths and libraries from compile command line
resolve_includes
(
petsc_includes_all
"
${
petsc_cpp_line
}
"
)
...
...
Write
Preview
Markdown
is supported
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