Switch all HDF lib orders
Paul Wilson
Branch: gonuke/hdf5_lib_order
Branch: master
Declined
Declined pull request
The most important/pressing changes were incorporated in PR #388. There may be remaining issues for building "pure" static libraries, but they should be addressed separately.
Closed by: Paul Wilson·2018-05-02
I believe that by listing the libraries names in this order, it allows CMake to use a preferred extension (.so vs .a) depending on the type of build.
This works with a static build, but the executables that are produced are linked to shared HDF5 objects. That is, this version prefers to use shared libraries for HDF5.