mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-15 07:40:23 +08:00
HDFFV-10403 fix soname
This commit is contained in:
parent
833b8de87a
commit
5b4c5b92d8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user