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:
@@ -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 )
|
||||
|
||||
|
Reference in New Issue
Block a user