display correct version if source isn't a git checkout
parent
6d22f23a8e
commit
02f16a40f0
|
@ -240,6 +240,7 @@ MPI_SUPPORT {
|
||||||
|
|
||||||
# add git revision
|
# add git revision
|
||||||
GITREV = $$system(git describe --tags)
|
GITREV = $$system(git describe --tags)
|
||||||
|
isEmpty($$GITREV):GITREV=$$VERSION
|
||||||
DEFINES += GIT_VERSION=\\\"$$GITREV\\\"
|
DEFINES += GIT_VERSION=\\\"$$GITREV\\\"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue