Fix regex encoding
This commit is contained in:
parent
cde36db17c
commit
815f30c75c
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ if(NOT VERSION_NUM)
|
|||
include(CMake/git.cmake)
|
||||
get_git_tag(VERSION_NUM)
|
||||
if (NOT "${VERSION_NUM}" STREQUAL "")
|
||||
string(REGEX MATCH "([0-9]+\.[0-9]+\.[0-9]+)" VERSION_NUM ${VERSION_NUM} )
|
||||
string(REGEX MATCH "([0-9]+\\.[0-9]+\\.[0-9]+)" VERSION_NUM ${VERSION_NUM} )
|
||||
endif()
|
||||
get_git_commit_hash(GIT_COMMIT_HASH)
|
||||
if(NOT VERSION_SUFFIX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue