diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-05-16 16:26:06 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-05-16 16:26:06 (GMT) |
commit | 8f57426ddae46821d83a13890169a5a0cf10eb5f (patch) | |
tree | c98568f6d9b93c7f6070f5b5412f26a24bcfc72d /config/cmake/HDF5Macros.cmake | |
parent | db070002687b0062d5657280b7c6beb81e40ace9 (diff) | |
download | hdf5-8f57426ddae46821d83a13890169a5a0cf10eb5f.zip hdf5-8f57426ddae46821d83a13890169a5a0cf10eb5f.tar.gz hdf5-8f57426ddae46821d83a13890169a5a0cf10eb5f.tar.bz2 |
Fix soversion, update cmake scripts
Diffstat (limited to 'config/cmake/HDF5Macros.cmake')
-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}) |