summaryrefslogtreecommitdiff
path: root/win-guest-tools.nsis
diff options
context:
space:
mode:
Diffstat (limited to 'win-guest-tools.nsis')
-rw-r--r--win-guest-tools.nsis5
1 files changed, 4 insertions, 1 deletions
diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 8967790..fc00953 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -57,7 +57,10 @@ SetCompressor /SOLID lzma
!error "OVIRT or SPICE symbol should passed to makensis with the -D flag"
!endif
-!define VERSION "0.103"
+!ifndef VERSION
+!error "-DVERSION=<version> should be passed to makensis, see Makefile"
+!endif
+
!ifndef DISPLAYED_VERSION
!define DISPLAYED_VERSION "${VERSION}"
!endif