Skip to content

Commit

Permalink
Get ZEAL_VERSION value from environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
trollixx committed Jan 21, 2015
1 parent 26f02ed commit 022d4be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ TARGET = zeal
target.path = /usr/bin
INSTALLS = target

DEFINES += ZEAL_VERSION=\\\"20140215\\\"
# TODO: Obtain version number from Git tags
VERSION = $$(ZEAL_VERSION)
isEmpty(VERSION) {
VERSION = 0.0.0
}
DEFINES += ZEAL_VERSION=\\\"$${VERSION}\\\"

SOURCES += \
main.cpp
Expand Down

0 comments on commit 022d4be

Please sign in to comment.