diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-08-24 13:03:16 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-08-24 13:03:16 (GMT) |
commit | fc3129a92e29b50dac3bd3d3777df13d970a017a (patch) | |
tree | dfbb00451a8d8388e4d7b59b32085e98a94b9894 /CMakeLists.txt | |
parent | 0423c4aea8967e71a4ba52be0bbf724f7f7f4e28 (diff) | |
download | hdf5-fc3129a92e29b50dac3bd3d3777df13d970a017a.zip hdf5-fc3129a92e29b50dac3bd3d3777df13d970a017a.tar.gz hdf5-fc3129a92e29b50dac3bd3d3777df13d970a017a.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 a984a73..bd7b264 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}") |