diff --git a/test/fc_mpi/src/CMakeLists.txt b/test/fc_mpi/src/CMakeLists.txt index 30ea8b5..1d44328 100644 --- a/test/fc_mpi/src/CMakeLists.txt +++ b/test/fc_mpi/src/CMakeLists.txt @@ -1,5 +1,6 @@ if(MPI_FOUND) add_executable(example example.F90) + target_link_libraries(example ${MPI_LIBRARIES}) else() message(FATAL_ERROR "MPI not found") endif()