diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-08-24 13:02:04 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-08-24 13:02:04 (GMT) |
commit | e31653cf5f547d4d8baff7be40f3b1b69b1765c5 (patch) | |
tree | 11cec6c8e5aca44208bcb1dcf7dba6a3263bf798 /CMakeLists.txt | |
parent | 06837394c35975d1b48f94833edb3e7bad87d3c0 (diff) | |
download | hdf5-e31653cf5f547d4d8baff7be40f3b1b69b1765c5.zip hdf5-e31653cf5f547d4d8baff7be40f3b1b69b1765c5.tar.gz hdf5-e31653cf5f547d4d8baff7be40f3b1b69b1765c5.tar.bz2 |
Revert H5_VERS_SUBRELEASE check
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f73b6f4..934aeeb 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}") |