Correct treatment of slashes
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Oct 2008 21:55:45 +0000 (21:55 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Oct 2008 21:55:45 +0000 (21:55 +0000)
CMakeLists.txt

index 67fc661..f089f56 100644 (file)
@@ -85,6 +85,8 @@ String(REGEX REPLACE "^.*Revision: ([^\n]*).*$" "\\1"
   ALIROOT_SVN_REVISION ${_svn_out})
 String(REGEX REPLACE "^.*URL: https://alisoft.cern.ch/AliRoot/([^\n]*).*$" "w \\1"
   ALIROOT_SVN_BRANCH ${_svn_out})
+String(REPLACE "/" "\\\\/"
+  ALIROOT_SVN_BRANCH ${ALIROOT_SVN_BRANCH})
 
 # Additional targets
 Add_Custom_Target(check-all COMMENT "Checking coding conventions")