Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a dependency of this test to mpi, as required on jenkins
[simgrid.git] / teshsuite / smpi / CMakeLists.txt
index d208718..72d8bcf 100644 (file)
@@ -29,6 +29,7 @@ if(enable_smpi)
     set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpif90")
     add_executable       (fort_args EXCLUDE_FROM_ALL fort_args/fort_args.f90)
     target_link_libraries(fort_args simgrid)
+    target_link_libraries(fort_args mpi)
     set_target_properties(fort_args PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/fort_args)
     add_dependencies(tests fort_args)
   endif()