1
0
mirror of https://github.com/PurpleI2P/i2pd-qt.git synced 2025-01-24 21:34:15 +00:00

about: use commit as fallback if no tags in git describe

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-01-31 23:27:03 +03:00
parent 23d3eef1ca
commit 46b947e70b
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -115,7 +115,7 @@ PRE_TARGETDEPS += $$PWD/src/BuildDateTimeQt.h
QMAKE_EXTRA_TARGETS += BuildDateTimeQtTarget
# git only, port to other VCS, too. TBD
DEFINES += VCS_COMMIT_INFO="\\\"git:$(shell git -C \""$$_PRO_FILE_PWD_"\" describe)\\\""
DEFINES += VCS_COMMIT_INFO="\\\"git:$(shell git -C \""$$_PRO_FILE_PWD_"\" describe --always)\\\""
macx {
message("using mac os x target")