Skip to content

Commit cf57eba

Browse files
committed
Read package version from env
1 parent 2fa5776 commit cf57eba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/subtivals.pro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
#
55
#-------------------------------------------------
66

7-
VERSION = 2.0.0-pre4
8-
DEFINES += VERSION=\\\"$$VERSION\\\" \
7+
isEmpty(PACKAGE_VERSION) {
8+
PACKAGE_VERSION = 0.0.0
9+
}
10+
DEFINES += VERSION=\\\"$$PACKAGE_VERSION\\\" \
911
DEFAULT_LINESPACING=0.3 \
1012
NB_PRESETS=6 \
1113
DEFAULT_PROJECTION_WINDOW_HEIGHT=200

0 commit comments

Comments
 (0)