Browse Source

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

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/30/head
R4SAS 4 years ago
parent
commit
46b947e70b
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 2
      i2pd_qt.pro

2
i2pd_qt.pro

@ -115,7 +115,7 @@ PRE_TARGETDEPS += $$PWD/src/BuildDateTimeQt.h
QMAKE_EXTRA_TARGETS += BuildDateTimeQtTarget QMAKE_EXTRA_TARGETS += BuildDateTimeQtTarget
# git only, port to other VCS, too. TBD # 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 { macx {
message("using mac os x target") message("using mac os x target")

Loading…
Cancel
Save