Skip to content
Snippets Groups Projects
Commit fbf5215c authored by Marcin Kirsz's avatar Marcin Kirsz
Browse files

added link to mpi

parent 2a7c32b8
No related branches found
No related tags found
No related merge requests found
Pipeline #43389 failed
......@@ -83,6 +83,12 @@ if(TADAH_ENABLE_OPENMP)
target_link_libraries(tadah.mlip.obj PUBLIC OpenMP::OpenMP_CXX)
endif()
if (TADAH_BUILD_MPI)
find_package(MPI REQUIRED)
target_link_libraries(tadah.mlip.obj PUBLIC MPI::MPI_CXX)
add_compile_definitions(TADAH_BUILD_MPI)
else()
add_library(tadah.mlip $<TARGET_OBJECTS:tadah.mlip.obj>)
if(TADAH_BUILD_TESTS)
......
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