diff --git a/src/MyMPILib/CMakeLists.txt b/src/MyMPILib/CMakeLists.txt index f067ca5..6f26779 100644 --- a/src/MyMPILib/CMakeLists.txt +++ b/src/MyMPILib/CMakeLists.txt @@ -73,7 +73,7 @@ ${PROJECT_SOURCE_DIR}/Internal/wuMergeChunk_module.f90 ${PROJECT_SOURCE_DIR}/Generic/initWorkunit_module.f90 ${PROJECT_SOURCE_DIR}/Generic/genericWorkunit_module.f90 ) - +target_link_libraries(MyMPILib PUBLIC MPI::MPI_Fortran) install(TARGETS MyMPILib ARCHIVE DESTINATION lib) add_custom_target(