Skip to content

Commit

Permalink
Add missing MPI target in src/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed Apr 15, 2024
1 parent 0f416a2 commit c0f8f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set(${PACKAGE}_LIB_DIRS
#------------------------------------------------------------------------------
# Define the executable and what to link
add_library(ccpp_framework STATIC ${SOURCES_F90})
target_link_libraries(ccpp_framework LINK_PUBLIC ${LIBS} ${CMAKE_DL_LIBS})
target_link_libraries(ccpp_framework PUBLIC MPI::MPI_Fortran)
set_target_properties(ccpp_framework PROPERTIES VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
LINK_FLAGS ${CMAKE_Fortran_FLAGS})
Expand Down

0 comments on commit c0f8f60

Please sign in to comment.