Skip to content

Commit

Permalink
Fixes skupperproject#1258: Additional fix. Escape the periods in the …
Browse files Browse the repository at this point in the history
…regex in CMakeLists.txt
  • Loading branch information
ganeshmurthy committed Oct 26, 2023
1 parent f491657 commit 263f2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 263f2a9

Please sign in to comment.