summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/TDEVersion.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEVersion.cmake b/modules/TDEVersion.cmake
index 144c883..6edbc42 100644
--- a/modules/TDEVersion.cmake
+++ b/modules/TDEVersion.cmake
@@ -21,7 +21,7 @@ macro( tde_set_project_version )
if( EXISTS ${CMAKE_SOURCE_DIR}/.tdescminfo )
file( STRINGS ${CMAKE_SOURCE_DIR}/.tdescminfo VERSION_STRING REGEX "^Version:.+$" )
- string( REGEX REPLACE "^Version: (R[0-9]+\.[0-9]+\.[0-9]+.*)$" "\\1" VERSION "${VERSION_STRING}" )
+ string( REGEX REPLACE "^Version: (R[0-9]+\\.[0-9]+\\.[0-9]+.*)$" "\\1" VERSION "${VERSION_STRING}" )
endif()
if( NOT VERSION )