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

fix mpi config

parent 6650083a
No related branches found
No related tags found
No related merge requests found
......@@ -473,6 +473,7 @@ if(ENABLE_MPI)
find_package(MPI)
if(MPI_FOUND)
message("-- Found MPI")
set(HAVE_MPI TRUE)
set(HAVE_MPI TRUE PARENT_SCOPE) # export it for projects, too
list(APPEND CONFIG_OPTIONS "MPI")
list(APPEND EXTERNAL_INCLUDES ${MPI_INCLUDE_DIR})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment