Allow GIT_DESCRIBE to be set from outside

This commit is contained in:
woblight
2018-07-17 13:56:14 +02:00
parent f499ccc4ec
commit 8ce9f8b045
+3 -1
View File
@@ -40,7 +40,9 @@ win32 {
DEFINES += _WIN32_WINNT=0x06010000
}
GIT_DESCRIBE = $$system(git describe --tags)
isEmpty(GIT_DESCRIBE){
GIT_DESCRIBE = $$system(git describe --tags)
}
isEmpty(GIT_DESCRIBE){
message("WARNING: empty git describe")
} else {