mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
Fix soversion
This commit is contained in:
parent
11bbf15ed0
commit
955201531f
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user