1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-11 17:13:37 +02:00

Fix GIT revision when build directory is outside source tree

This commit is contained in:
Leland Lucius
2020-04-24 23:39:12 -05:00
parent 8898394f90
commit 4b8f923fd1
2 changed files with 4 additions and 3 deletions

View File

@@ -6,10 +6,10 @@ execute_process(
COMMAND
${GIT} show -s "--format=#define REV_LONG \"%H\"%n#define REV_TIME \"%cd\"%n"
OUTPUT_FILE
RevisionIdent.h.in
${_PRVDIR}/RevisionIdent.h.in
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET
)
configure_file( RevisionIdent.h.in RevisionIdent.h COPYONLY )
configure_file( ${_PRVDIR}/RevisionIdent.h.in ${_PRVDIR}/RevisionIdent.h COPYONLY )