CMakeLists.txt
changeset 5429 0caa7519cbd1
parent 5407 486231e82e8d
child 5495 272ed78e59a7
child 5610 f8bdc789ac60
--- a/CMakeLists.txt	Wed Jul 27 11:38:00 2011 +0400
+++ b/CMakeLists.txt	Wed Jul 27 11:39:08 2011 +0400
@@ -24,7 +24,7 @@
 				     OUTPUT_VARIABLE version_suffix
 				     )
 			STRING(REGEX REPLACE "[^+]" "" HGCHANGED ${version_suffix})
-			STRING(REGEX REPLACE "([0-9a-zA-Z]+)(.*) ([0-9]+)(.*)" "\\3:\\1" version_suffix ${version_suffix})
+			STRING(REGEX REPLACE "([0-9a-zA-Z]+)(.*) ([0-9]+)(.*)" "\\3-\\1" version_suffix ${version_suffix})
 			IF (HGCHANGED)
 				MESSAGE(STATUS "Building revision ${version_suffix} (SOURCE CODE MODIFIED)")
 			ELSE()