ROSS target includes mpi.h
@@ -133,10 +133,12 @@ ADD_LIBRARY(ROSS_obj OBJECT ${ross_srcs})
ADD_LIBRARY(ROSS SHARED $<TARGET_OBJECTS:ROSS_obj>)
SET_TARGET_PROPERTIES(ROSS PROPERTIES OUTPUT_NAME ROSS)
TARGET_LINK_LIBRARIES(ROSS ${ROSS_EXTERNAL_LIBS})
+TARGET_INCLUDE_DIRECTORIES(ROSS INTERFACE ${MPI_C_INCLUDE_PATH})
ADD_LIBRARY(ROSS_static STATIC $<TARGET_OBJECTS:ROSS_obj>)
SET_TARGET_PROPERTIES(ROSS_static PROPERTIES OUTPUT_NAME ROSS)
TARGET_LINK_LIBRARIES(ROSS_static ${ROSS_EXTERNAL_LIBS})
+TARGET_INCLUDE_DIRECTORIES(ROSS_static INTERFACE ${MPI_C_INCLUDE_PATH})
if (COVERALLS)
set(COVERAGE_SRCS ${ross_srcs})
