Skip to content

Do not link against several transitive dependencies of HDF5 - #2797

Merged
pshriwise merged 1 commit into
openmc-dev:developfrom
paulromano:hdf5-transitive-dependencies
Dec 6, 2023
Merged

pshriwise merged 1 commit into
openmc-dev:developfrom
paulromano:hdf5-transitive-dependencies

Conversation

@paulromano

Copy link
Copy Markdown
Contributor

Description

This PR fixes an issue with hardcoded HDF5 library dependencies ending up in the installed OpenMCTargets.cmake file. I just submitted an identical fix for DAGMC (svalinn/DAGMC#926) so please refer to that regarding details on the motivation.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@paulromano
paulromano requested a review from pshriwise December 5, 2023 17:47

@pshriwise pshriwise left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @paulromano! I'm going to give this a day just in case someone spots an issue with these explicit references.

@pshriwise
pshriwise merged commit 3901709 into openmc-dev:develop Dec 6, 2023
@paulromano
paulromano deleted the hdf5-transitive-dependencies branch December 8, 2023 00:17
apingegno pushed a commit to apingegno/openmc that referenced this pull request May 7, 2026
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