From 263f2a9fd63ae779a7f86f7d351feee62a3c775f Mon Sep 17 00:00:00 2001 From: Ganesh Murthy Date: Thu, 26 Oct 2023 10:03:19 -0400 Subject: [PATCH] Fixes #1258: Additional fix. Escape the periods in the regex in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 643f564f7..b74953b19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,7 @@ if(NOT DEFINED VERSION) # GIT_RESULT will contain the result of last child process. It will be zero if successful. if (GIT_RESULT EQUAL 0) # Git succeeded, we will use the DEFAULT_VERSION as the QPID_DISPATCH_VERSION - if (${DEFAULT_VERSION} MATCHES "^[0-9]+.[0-9]+.[0-9]+.*") + if (${DEFAULT_VERSION} MATCHES "^[0-9]+\.[0-9]+\.[0-9]+.*") set(QPID_DISPATCH_VERSION ${DEFAULT_VERSION}) else() set(QPID_DISPATCH_VERSION "0.0.0")