Fix incorrect backslash in tde_set_project_version macro

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/102/head
Slávek Banko 8 months ago committed by Michele Calgaro
parent bcb80b4ea3
commit 620a9aa9f9
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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 )

Loading…
Cancel
Save