Skip to content

Commit

Permalink
Allow to get git version in shadow builds
Browse files Browse the repository at this point in the history
  • Loading branch information
variar committed Mar 15, 2016
1 parent 26adf4b commit 955c213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glogg.pro
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ isEmpty(VERSION):system(date >/dev/null) {
}
else {
QMAKE_CXXFLAGS += -DGLOGG_DATE=\\\"`date +'\"%F\"'`\\\"
QMAKE_CXXFLAGS += -DGLOGG_VERSION=\\\"`git describe`\\\"
QMAKE_CXXFLAGS += -DGLOGG_COMMIT=\\\"`git rev-parse --short HEAD`\\\"
QMAKE_CXXFLAGS += -DGLOGG_VERSION=\\\"`git --git-dir=$$PWD/.git describe`\\\"
QMAKE_CXXFLAGS += -DGLOGG_COMMIT=\\\"`git --git-dir=$$PWD/.git rev-parse --short HEAD`\\\"
}
}
else {
Expand Down

0 comments on commit 955c213

Please sign in to comment.