This provides the correct MPI dependency, otherwise MPI_Barrier is not
necessarily found when linking targets that depend on this one.
Fixes #4232
$<TARGET_OBJECTS:mdrun_objlib>
)
target_include_directories(mdrun_test_infrastructure SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/src/external)
-target_link_libraries(mdrun_test_infrastructure PUBLIC legacy_api)
+target_link_libraries(mdrun_test_infrastructure PUBLIC legacy_api utility)
# To avoid running into test timeouts, some end-to-end tests of mdrun
# functionality are split off. This can be rearranged in future as we