Skip to content

Commit

Permalink
add MPI include directories and definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlapre committed Jun 21, 2023
1 parent 70f56eb commit 87d1074
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions experimental/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ endif()
option(SST_DISABLE_MPI "Compile without MPI" OFF)
if(NOT SST_DISABLE_MPI)
find_package(MPI REQUIRED)
include_directories(SYSTEM ${MPI_INCLUDE_PATH})
add_definitions(-DSST_CONFIG_HAVE_MPI)
endif()

# sst sets all the variables needed for our *.in files
Expand Down

0 comments on commit 87d1074

Please sign in to comment.