Skip to content

Commit

Permalink
Updated F2003_parallel/CMakeLists.txt files to explicitly specify lin…
Browse files Browse the repository at this point in the history
…king against MPI::MPI_Fortran
  • Loading branch information
drreynolds committed Feb 13, 2024
1 parent 7cbd968 commit 38919dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/arkode/F2003_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ foreach(example_tuple ${FARKODE_examples})
add_executable(${example} ${example}.f90)

# libraries to link against
target_link_libraries(${example} ${SUNDIALS_LIBS})
target_link_libraries(${example} MPI::MPI_Fortran ${SUNDIALS_LIBS})

set_target_properties(${example} PROPERTIES FOLDER "Examples")
endif()
Expand Down
2 changes: 1 addition & 1 deletion examples/cvode/F2003_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ foreach(example_tuple ${FCVODE_examples})
add_executable(${example} ${example}.f90)

# libraries to link against
target_link_libraries(${example} ${SUNDIALS_LIBS})
target_link_libraries(${example} MPI::MPI_Fortran ${SUNDIALS_LIBS})

set_target_properties(${example} PROPERTIES FOLDER "Examples")
endif()
Expand Down
2 changes: 1 addition & 1 deletion examples/ida/F2003_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ foreach(example_tuple ${FIDA_examples})
add_executable(${example} ${example}.f90)

# libraries to link against
target_link_libraries(${example} ${SUNDIALS_LIBS})
target_link_libraries(${example} MPI::MPI_Fortran ${SUNDIALS_LIBS})

set_target_properties(${example} PROPERTIES FOLDER "Examples")
endif()
Expand Down
2 changes: 1 addition & 1 deletion examples/kinsol/F2003_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ foreach(example_tuple ${FKINSOL_examples})
add_executable(${example} ${example}.f90)

# libraries to link against
target_link_libraries(${example} ${SUNDIALS_LIBS})
target_link_libraries(${example} MPI::MPI_Fortran ${SUNDIALS_LIBS})

set_target_properties(${example} PROPERTIES FOLDER "Examples")
endif()
Expand Down

0 comments on commit 38919dd

Please sign in to comment.