Fixed striong (Svein)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Jan 2011 13:21:52 +0000 (13:21 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Jan 2011 13:21:52 +0000 (13:21 +0000)
CMakeLists.txt

index 7855362..6183cf4 100644 (file)
@@ -178,7 +178,7 @@ if(Subversion_FOUND)
       if(${f} MATCHES URL)
        string(REGEX MATCH "[^/]+$" ALIROOT_SVN_BRANCH ${f})
       elseif(${f} MATCHES Revision)
-       string(REGEX MATCH "[^/]+$" ALIROOT_SVN_REVISION ${f})
+       string(REGEX MATCH "[^: ]+$" ALIROOT_SVN_REVISION ${f})
       endif(${f} MATCHES URL)   
     endforeach()
   endif(EXISTS ${PROJECT_SOURCE_DIR}/.svn/ )