summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openscad.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/openscad.pro b/openscad.pro
index 42a5d22..0e94eb0 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -1,4 +1,9 @@
-isEmpty(VERSION) VERSION = $$system(date "+%Y.%m.%d")
+win32 {
+ isEmpty(VERSION) VERSION = $$system(date /t)
+} else {
+ isEmpty(VERSION) VERSION = $$system(date "+%Y.%m.%d")
+}
+
DEFINES += OPENSCAD_VERSION=$$VERSION
TEMPLATE = app
RESOURCES = openscad.qrc
contact: Jan Huwald // Impressum