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

better mpi for projects

parent 929a998c
No related branches found
No related tags found
No related merge requests found
......@@ -474,7 +474,6 @@ if(ENABLE_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})
list(APPEND EXTERNAL_LIBRARIES ${MPI_LIBRARIES})
......@@ -809,7 +808,8 @@ include_directories(Common Fltk Geo Graphics Mesh Solver Numeric Parser
Plugin Post Qt ${EXTERNAL_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}/Common)
# set this for external codes that might include this CMakeList file
set(GMSH_EXTERNAL_INCLUDE_DIRS ${EXTERNAL_INCLUDES} PARENT_SCOPE)
set(GMSH_EXTERNAL_INCLUDE_DIRS ${EXTERNAL_INCLUDES} CACHE
STRING "External include directories")
# group sources for easier navigation in IDEs
foreach(DIR ${GMSH_DIRS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment