diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-05-16 16:25:07 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-05-16 16:25:07 (GMT) |
commit | 955201531f80229606040866aed78eafac4e155c (patch) | |
tree | af9f45d57aae94642107c56464e30de4bf4e82c8 | |
parent | 11bbf15ed01c5cbd283466b45c9710b933fc65dc (diff) | |
download | hdf5-955201531f80229606040866aed78eafac4e155c.zip hdf5-955201531f80229606040866aed78eafac4e155c.tar.gz hdf5-955201531f80229606040866aed78eafac4e155c.tar.bz2 |
Fix soversion
-rw-r--r-- | config/cmake/HDF5Macros.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake index 2bdf38f..6c203e2 100644 --- a/config/cmake/HDF5Macros.cmake +++ b/config/cmake/HDF5Macros.cmake @@ -20,11 +20,11 @@ macro (H5_SET_LIB_OPTIONS libtarget libname libtype libpackage) else () set (LIBHDF_VERSION ${HDF5_${libpackage}_PACKAGE_SOVERSION_MAJOR}) endif () - set_target_properties (${libtarget} PROPERTIES VERSION ${LIBHDF_VERSION}) + set_target_properties (${libtarget} PROPERTIES VERSION ${PACKAGE_SOVERSION}) if (WIN32) - set (${LIB_OUT_NAME} "${LIB_OUT_NAME}-${PACKAGE_SOVERSION}") + set (${LIB_OUT_NAME} "${LIB_OUT_NAME}-${LIBHDF_VERSION}") else () - set_target_properties (${libtarget} PROPERTIES SOVERSION ${PACKAGE_SOVERSION}) + set_target_properties (${libtarget} PROPERTIES SOVERSION ${LIBHDF_VERSION}) endif () endif () HDF_SET_LIB_OPTIONS (${libtarget} ${LIB_OUT_NAME} ${libtype}) |