summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-08-13 13:39:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-08-13 13:39:17 (GMT)
commit4f4db8799ca92b9d59105d3c7255d43762ed3731 (patch)
treee2360df8c6980aba64eca8e2d3e763fd8ec1e32d
parent2eb782130a1278c8314af6ebcdc6319738506fc7 (diff)
downloadhdf5-4f4db8799ca92b9d59105d3c7255d43762ed3731.zip
hdf5-4f4db8799ca92b9d59105d3c7255d43762ed3731.tar.gz
hdf5-4f4db8799ca92b9d59105d3c7255d43762ed3731.tar.bz2
[svn-r22673] Add "_" to list of version separators
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d43b3ea..340c4ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,7 +176,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}")