summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-08-24 13:01:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-08-24 13:01:01 (GMT)
commitec1c324a0d184d2778e9155140367a7d3a307fa1 (patch)
treedd55c077f2247b1ace589760814006ffc769d1c4 /CMakeLists.txt
parent9765b7ff3020ecd0981e84cdb2bcfe1e6d3b9803 (diff)
downloadhdf5-ec1c324a0d184d2778e9155140367a7d3a307fa1.zip
hdf5-ec1c324a0d184d2778e9155140367a7d3a307fa1.tar.gz
hdf5-ec1c324a0d184d2778e9155140367a7d3a307fa1.tar.bz2
Revert H5_VERS_SUBRELEASE check
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc94f73..6c52c50 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -341,11 +341,7 @@ set (HDF5_PACKAGE_VERSION_MINOR "${H5_VERS_RELEASE}")
if (H5_VERS_SUBRELEASE)
set (HDF5_PACKAGE_VERSION_STRING "${HDF5_PACKAGE_VERSION}-${H5_VERS_SUBRELEASE}")
else ()
- if (${H5_VERS_SUBRELEASE} STREQUAL "")
- set (HDF5_PACKAGE_VERSION_STRING "${HDF5_PACKAGE_VERSION}")
- else ()
- set (HDF5_PACKAGE_VERSION_STRING "${HDF5_PACKAGE_VERSION}-${H5_VERS_SUBRELEASE}")
- endif ()
+ set (HDF5_PACKAGE_VERSION_STRING "${HDF5_PACKAGE_VERSION}")
endif ()
set (HDF5_LIB_PACKAGE_SOVERSION "${H5_LIB_SOVERS_MAJOR}.${H5_LIB_SOVERS_RELEASE}.${H5_LIB_SOVERS_MINOR}")
set (HDF5_LIB_PACKAGE_SOVERSION_MAJOR "${H5_LIB_SOVERS_MAJOR}")