Skip to content

The option HDF5_ENABLE_THREADS is not used correctly #5517

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

Open
byrnHDF opened this issue May 6, 2025 · 0 comments · May be fixed by #5523
Open

The option HDF5_ENABLE_THREADS is not used correctly #5517

byrnHDF opened this issue May 6, 2025 · 0 comments · May be fixed by #5523

Comments

@byrnHDF
Copy link
Contributor

byrnHDF commented May 6, 2025

The option is used to link in Threads libs but the option is not used correctly.
The proper solution is the add the Threads lib to a global CMake variable when threads is available. Then use this variable to link. The current usage of the HDF5_ENABLE_THREADS option will cause a link issue if Threads library is not found.

@byrnHDF byrnHDF linked a pull request May 7, 2025 that will close this issue
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 a pull request may close this issue.

1 participant