Commit daf08e47 authored by Burlen Loring's avatar Burlen Loring

Merge branch 'cleanup' into 'master'

fix FindMPI issues with latest cmake

See merge request !117
parents ea282535 ec92f311
......@@ -2,7 +2,7 @@ find_package(MPI REQUIRED)
add_library(mpi INTERFACE)
target_include_directories(mpi SYSTEM INTERFACE ${MPI_C_INCLUDE_PATH}
${MPI_CXX_INCLUDE_PATH})
${MPI_CXX_INCLUDE_PATH} ${MPI_C_INCLUDE_DIRS} ${MPI_CXX_INCLUDE_DIRS})
target_link_libraries(mpi INTERFACE ${MPI_C_LIBRARIES} ${MPI_CXX_LIBRARIES})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment