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

Do not use -latomic on macOS #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kojix2
Copy link

@kojix2 kojix2 commented Nov 15, 2023

This pull request is to avoid specifying -latomic on macOS.

I refer to the following pull request.

@ekg
Copy link
Owner

ekg commented Nov 15, 2023 via email

@kojix2
Copy link
Author

kojix2 commented Nov 16, 2023

# add the "-latomic" option only if the system name is not "Darwin.
$<$<NOT:$<STREQUAL:${CMAKE_SYSTEM_NAME},Darwin>>:-latomic>

It works on my Mac mini.
There are no errors related to -latomic.
Although, this code was suggested by ChatGPT, after all...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants