Skip to content

Commit

Permalink
Merge branch 'fix-macos' of github.com:sourceryinstitute/OpenCoarrays
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Mar 23, 2022
2 parents 31f7f18 + d59e286 commit b4d2483
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/mpi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ set_target_properties ( caf_mpi
# VERSION ${PROJECT_VERSION}
)

# Unfortunately caf_mpi.c calls a function directly from libgfortran and this can be resolved later
if(APPLE)
set_target_properties ( caf_mpi
PROPERTIES
LINK_FLAGS "-undefined dynamic_lookup"
)
endif()

# Create a symlink in the include dir
if(UNIX)
add_custom_command(TARGET caf_mpi
Expand Down

0 comments on commit b4d2483

Please sign in to comment.