Fix Qt build on Windows hosts.

This commit is contained in:
Unknown W. Brackets 2013-03-03 22:53:34 -08:00
parent 165cfe53a3
commit c30dbc3884

View File

@ -5,7 +5,8 @@ TEMPLATE = lib
CONFIG += staticlib
version.target = ../git-version.cpp
version.commands = $$PWD/git-version-gen.sh
contains(QMAKE_HOST.os, "Windows") { version.commands = $$PWD/../Windows/git-version-gen.cmd }
else { version.commands = $$PWD/git-version-gen.sh }
version.depends = ../.git
QMAKE_EXTRA_TARGETS += version