Qt: Fix version strings (some platforms need this)

This commit is contained in:
Sacha committed 2013-11-25 16:06:51 +10:00
1 parent 12bfcd0599
commit a4eb862c19
1 file changed
+3 -3
+3 -3
View File
@@ -12,9 +12,9 @@ UI_DIR = $$CONFIG_DIR/.ui/$$TARGET
P = $$_PRO_FILE_PWD_/..
INCLUDEPATH += $$P/ext/zlib $$P/native/ext/glew $$P/Common
exists($$P/.git): GIT_VERSION = $$system(git describe --always)
isEmpty(GIT_VERSION): GIT_VERSION = $$VERSION
DEFINES += PPSSPP_GIT_VERSION=\\\"$$GIT_VERSION\\\"
exists($$P/.git): GIT_VERSION = '\\"$$system(git describe --always)\\"'
isEmpty(GIT_VERSION): GIT_VERSION = '\\"$$VERSION\\"'
DEFINES += PPSSPP_GIT_VERSION=\"$$GIT_VERSION\"
win32-msvc* {
QMAKE_CXXFLAGS_RELEASE += /O2 /arch:SSE2 /fp:fast