diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-08-23 19:58:20 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-08-23 19:58:20 (GMT) |
commit | c409c11329ba9c80e3e3b5c967d5411f44964489 (patch) | |
tree | 11cec6c8e5aca44208bcb1dcf7dba6a3263bf798 | |
parent | 822d8901141cd8b07d50ed677f93b0f633c6d24d (diff) | |
download | hdf5-c409c11329ba9c80e3e3b5c967d5411f44964489.zip hdf5-c409c11329ba9c80e3e3b5c967d5411f44964489.tar.gz hdf5-c409c11329ba9c80e3e3b5c967d5411f44964489.tar.bz2 |
Add hypen to subrelease regex
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fb20b1b..934aeeb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,7 +236,7 @@ string (REGEX REPLACE ".*#define[ \t]+H5_VERS_MINOR[ \t]+([0-9]*).*$" "\\1" H5_VERS_MINOR ${_h5public_h_contents}) string (REGEX REPLACE ".*#define[ \t]+H5_VERS_RELEASE[ \t]+([0-9]*).*$" "\\1" H5_VERS_RELEASE ${_h5public_h_contents}) -string (REGEX REPLACE ".*#define[ \t]+H5_VERS_SUBRELEASE[ \t]+\"([0-9A-Za-z._]*)\".*$" +string (REGEX REPLACE ".*#define[ \t]+H5_VERS_SUBRELEASE[ \t]+\"([0-9A-Za-z._\-]*)\".*$" "\\1" H5_VERS_SUBRELEASE ${_h5public_h_contents}) #message (STATUS "VERSION: ${H5_VERS_MAJOR}.${H5_VERS_MINOR}.${H5_VERS_RELEASE}-${H5_VERS_SUBRELEASE}") |