diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-05-16 16:25:24 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-05-16 16:25:24 (GMT) |
commit | d349e903681820b73938a6a2e11ffd8ed64d2557 (patch) | |
tree | ad1fbc0a2465a473dc1396648d0b63362079b24e | |
parent | 525b9f40e5c112b777a28d207ccb6fd454f156fc (diff) | |
download | hdf5-d349e903681820b73938a6a2e11ffd8ed64d2557.zip hdf5-d349e903681820b73938a6a2e11ffd8ed64d2557.tar.gz hdf5-d349e903681820b73938a6a2e11ffd8ed64d2557.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 e472a67..fe38b82 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}) |