diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-02-08 21:50:38 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-02-08 21:50:38 (GMT) |
commit | 5b4c5b92d893760acc9b038ca441dcac5e03a816 (patch) | |
tree | 906c4dacdb52e2ff4d31d4662754d5bcf1134d93 /config | |
parent | 833b8de87ad3194d83609f6f292c81916b0eb428 (diff) | |
download | hdf5-5b4c5b92d893760acc9b038ca441dcac5e03a816.zip hdf5-5b4c5b92d893760acc9b038ca441dcac5e03a816.tar.gz hdf5-5b4c5b92d893760acc9b038ca441dcac5e03a816.tar.bz2 |
HDFFV-10403 fix soname
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/HDF5Macros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake index f08349e..c3dea9a 100644 --- a/config/cmake/HDF5Macros.cmake +++ b/config/cmake/HDF5Macros.cmake @@ -17,12 +17,12 @@ macro (H5_SET_LIB_OPTIONS libtarget libname libtype) if (ARGN) set (PACKAGE_SOVERSION ${ARGN}) else () - set (PACKAGE_SOVERSION ${HDF5_PACKAGE_SOVERSION}) + set (PACKAGE_SOVERSION ${H5_SOVERS_MAJOR}) endif () if (WIN32) set (LIBHDF_VERSION ${HDF5_PACKAGE_VERSION_MAJOR}) else () - set (LIBHDF_VERSION ${HDF5_PACKAGE_VERSION}) + set (LIBHDF_VERSION ${HDF5_PACKAGE_SOVERSION}) endif () set_target_properties (${libtarget} PROPERTIES VERSION ${LIBHDF_VERSION}) if (WIN32) |