mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
Append -dirty if the working tree is dirty.
This commit is contained in:
parent
bc3ab4ff40
commit
9613713e14
@ -54,7 +54,7 @@ if(GIT_FOUND AND NOT DOLPHIN_WC_REVISION)
|
|||||||
OUTPUT_VARIABLE DOLPHIN_WC_REVISION
|
OUTPUT_VARIABLE DOLPHIN_WC_REVISION
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
# defines DOLPHIN_WC_DESCRIBE
|
# defines DOLPHIN_WC_DESCRIBE
|
||||||
EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} describe --always
|
EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} describe --always --dirty
|
||||||
OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE
|
OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
# defines DOLPHIN_WC_BRANCH
|
# defines DOLPHIN_WC_BRANCH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user