Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMakeLists.txt to fix https://github.com/libprima/prima/issues/158 #159

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ endif ()
# Fix https://github.com/libprima/prima/issues/158, which is a failure due to the new linker
# implemented in Xcode 15 on macOS. It happens only if the Fortran compiler is ifort.
# An alternative is `add_link_options("-ld_classic")`, which forces Xcode to use the old linker.
if((APPLE) AND (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel"))
if((APPLE) AND (CMAKE_Fortran_COMPILER_ID MATCHES "Intel"))
add_link_options("-Wl,-undefined,dynamic_lookup")
endif()

Expand Down
Loading