mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Qt: Fix version strings (some platforms need this)
This commit is contained in:
1 parent
12bfcd0599
commit
a4eb862c19
1 file changed
+3
-3
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user