ukaea / UDA

Universal Data Access library to provide data over the network in a unified data object.
https://ukaea.github.io/UDA/
Apache License 2.0
11 stars 4 forks source link

Bug: Various order of plugin libraries in plugin leads to various results #31

Closed hanak closed 7 months ago

hanak commented 7 months ago

Problem

Consider the following libraries:

The result of the function filter_lib_list(... debug optimized) (cmake/plugins.cmake) will differ depending on order of libraries:

Context

This behavior was discovered while trying to restore a broken MSVS UDA build. With CMake 3.23, HDF5_LIBRARIES seems to contain hdf5::hdf5-shared rather than a list of libraries accompanied by the library type. Since hdf5::hdf5-shared was listed at the end, it was not included among the dependencies and the build failed.

hanak commented 7 months ago

I am sorry, it seems I do not have a permission to ask for a review.