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

CMakeLists.txt: add -lpthread where necessary #4580

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

moneromooo-monero
Copy link
Collaborator

No description provided.

@moneromooo-monero
Copy link
Collaborator Author

Changed to check whether libpthread is actually here too, just in case.

@hyc
Copy link
Collaborator

hyc commented Oct 13, 2018

This isn't a good idea. Should just use "-pthread" instead; the compiler already knows whether a libpthread exists.

The cmake thread detection just ain't enough to always work
Copy link
Contributor

@fluffypony fluffypony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed

@fluffypony fluffypony merged commit 938476c into monero-project:master Oct 26, 2018
fluffypony added a commit that referenced this pull request Oct 26, 2018
938476c CMakeLists.txt: detect and use -pthread compiler flag (moneromooo-monero)
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.

4 participants