summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-02-08 22:11:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-02-08 22:11:56 (GMT)
commit20332fac0ead66b7fc90858b209b33fbd6a75d57 (patch)
tree242ed1b9dbb03142523df3fcb39caedf2c2dfb4d
parentca89ab663191523b3752575283d0a3b5a8682ac9 (diff)
parent83211cf8f6051be2ea8dfd84637c195b2b0213c1 (diff)
downloadhdf5-20332fac0ead66b7fc90858b209b33fbd6a75d57.zip
hdf5-20332fac0ead66b7fc90858b209b33fbd6a75d57.tar.gz
hdf5-20332fac0ead66b7fc90858b209b33fbd6a75d57.tar.bz2
Merge pull request #890 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '83211cf8f6051be2ea8dfd84637c195b2b0213c1': HDFFV-10403 Fix soname setting
-rw-r--r--config/cmake/HDF5Macros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake
index f08349e..c3dea9a 100644
--- a/config/cmake/HDF5Macros.cmake
+++ b/config/cmake/HDF5Macros.cmake
@@ -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)