Skip to content

[HDF5] Add runtime hdf5 lib installation at the libs folder#14296

Open
sunethwarna wants to merge 1 commit intomasterfrom
hdf5/add_dynamic_libs_at_install
Open

[HDF5] Add runtime hdf5 lib installation at the libs folder#14296
sunethwarna wants to merge 1 commit intomasterfrom
hdf5/add_dynamic_libs_at_install

Conversation

@sunethwarna
Copy link
Copy Markdown
Member

@sunethwarna sunethwarna commented Mar 16, 2026

📝 Description
This PR installs the dynamic library which was used at the linking time as well in the Kratos install directory. The stub generation of the HDF5 application in Windows was failing due to the fact that hdf5.dll could not be located. This PR fixes it.

The IMPORTED_RUNTIME_ARTIFACTS is a cmake 3.21 feature. This PR is also meant to check if the CI passes with cmake 3.21.

install(IMPORTED_RUNTIME_ARTIFACTS ${HDF5_C_LIBRARIES} RUNTIME DESTINATION libs)

🆕 Changelog

  • Now linking hdf5 libs are automatically installed in the kratos install dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

1 participant