Colon sign isn't compatible with windows
authorunc0rr
Wed, 27 Jul 2011 11:39:08 +0400
changeset 5429 0caa7519cbd1
parent 5425 862c194a1a1c
child 5438 d080fb32d703
Colon sign isn't compatible with windows
CMakeLists.txt
--- 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()