Fix version string: We don't build a merge before committing and don't have two parents!
parent
706b885155
commit
97db0a0cf2
|
|
@ -18,7 +18,8 @@ if (NOT DEFINED VIEWER_SHORT_VERSION) # will be true in indra/, false in indra/n
|
|||
find_program(MERCURIAL hg)
|
||||
if (DEFINED MERCURIAL)
|
||||
execute_process(
|
||||
COMMAND ${MERCURIAL} log -r tip --template "{p1rev}"
|
||||
#COMMAND ${MERCURIAL} log -r tip --template "{p1rev}" <FS:Ansa> We don't build a merge before committing and don't have two parents!
|
||||
COMMAND ${MERCURIAL} log -r tip --template "{rev}"
|
||||
OUTPUT_VARIABLE VIEWER_VERSION_REVISION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue