-
Notifications
You must be signed in to change notification settings - Fork 21
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 hdf5.cmake to enable h5diff #134
Conversation
TBH, the first thing I would have done is probably just updating the version. |
already use it in my local branch. just pushed the changes here as well |
Ah wow, so even the newest version has this potential bug? |
I did a force rebuild so I guess yes. |
Just confirmed... we only build release in contrib but the hdf5-config.cmake seems to look for debug libraries |
https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_PACKAGE_PREFER_CONFIG.html Apparently module mode is the default. We should prefer Config whenever available. I think in the case of HDF5 it should be available on all channels (conda, apt, contrib) therefore you could force it with the full signature of find_package: Try this first before building the tools unnecessarily. The config file actually looks ok. |
ah thanks! we even had explicitly find_package(HDF5 MODULE ... ) |
not needed anymore |
needed if we want to use the hdf5-config.cmake files.
See discussion at OpenMS/OpenMS#6713