ComputationalRadiationPhysics / libSplash

libSplash - Simple Parallel file output Library for Accumulating Simulation data using Hdf5
GNU Lesser General Public License v3.0
15 stars 15 forks source link

CMake: HDF5 Has Shared Libs #192

Closed ax3l closed 9 years ago

ax3l commented 9 years ago

This PR refactores the CMakeLists.txt a little: what we actually want to know is, if a shared library is available (and then we prefer it).

Before that, we assumed that either a shared or a static library exists, which still works but it somewhat obfuscating.