Skip to content

Commit c4faffb

Browse files
committed
Fixing build for Win when no version
1 parent 9b34a68 commit c4faffb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GitQlient.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,12 @@ OTHER_FILES += \
5656

5757

5858
isEmpty(VERSION) {
59+
win32 {
60+
VERSION = 0.0
61+
} else {
5962
VERSION = $$system(git rev-parse --short HEAD)
6063
}
64+
}
6165

6266
GQ_SHA = $$system(git rev-parse --short HEAD)
6367

0 commit comments

Comments
 (0)