From 7dd51c99899bd3056ed4c7d1a30c8093bb00f2a8 Mon Sep 17 00:00:00 2001 From: "Justin M. LaPre" Date: Wed, 21 Jun 2023 19:44:06 +0000 Subject: [PATCH] add MPI include directories and definitions --- experimental/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/experimental/CMakeLists.txt b/experimental/CMakeLists.txt index ead091935..24780181f 100644 --- a/experimental/CMakeLists.txt +++ b/experimental/CMakeLists.txt @@ -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