cmake: Really add '--dirty' flag to 'git describe' for version
This fixes commit 2dc14b10de
.
That commit added the '--dirty' argument the first time we generate the version
stamp file, which is when CMake produces the Makefiles (called from
awesomeConfig.cmake). Later on, we use build-utils/git-version-stamp.sh to
update this file. That file was missing this new argument to 'dit describe'
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
dde5b1b4d1
commit
4636b111b4
|
@ -13,7 +13,7 @@ die()
|
|||
}
|
||||
|
||||
STAMP=`cat "$1" 2> /dev/null`
|
||||
CURRENT=`git describe 2>/dev/null`
|
||||
CURRENT=`git describe --dirty 2>/dev/null`
|
||||
|
||||
if [ -z "$STAMP" -o -z "$CURRENT" ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue