HDFFV-10403 fix soname

This commit is contained in:
Allen Byrne 2018-02-08 15:50:38 -06:00
parent 833b8de87a
commit 5b4c5b92d8

View File

@ -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)