summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-02-09 15:04:45 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-02-09 15:04:45 (GMT)
commit741a17a2cdb072705fd94c1554d40e331922dc64 (patch)
tree13be41052fc3a7f2ead6c9cd06effb11d7e20912 /config/cmake
parent957d1b85d8e7551c975a8378b9753a628068748c (diff)
parent953f1e432fabec937665acec5a5ea73754f246b4 (diff)
downloadhdf5-741a17a2cdb072705fd94c1554d40e331922dc64.zip
hdf5-741a17a2cdb072705fd94c1554d40e331922dc64.tar.gz
hdf5-741a17a2cdb072705fd94c1554d40e331922dc64.tar.bz2
Merge pull request #892 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_8 to hdf5_1_8
* commit '953f1e432fabec937665acec5a5ea73754f246b4': HDFFV-10403 fix soname Remove old dependency construct HDFFV-10398 patch for UBSAN
Diffstat (limited to 'config/cmake')
-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)