mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Qt: GIT_VERSION expand fix for Linux.
This commit is contained in:
parent
946deda4b3
commit
ba0779183a
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ INCLUDEPATH += $$P/ext/zlib $$P/Common
|
|||
|
||||
exists($$P/.git): GIT_VERSION = $$system(git describe --always)
|
||||
isEmpty(GIT_VERSION): GIT_VERSION = $$VERSION
|
||||
greaterThan(QT_MAJOR_VERSION,4): DEFINES += PPSSPP_GIT_VERSION=$$shell_quote(\"$$GIT_VERSION\")
|
||||
else: DEFINES += "PPSSPP_GIT_VERSION=\"$$GIT_VERSION\""
|
||||
symbian: DEFINES += "PPSSPP_GIT_VERSION=\"$$GIT_VERSION\""
|
||||
else: DEFINES += PPSSPP_GIT_VERSION=$$shell_quote(\"$$GIT_VERSION\")
|
||||
|
||||
win32-msvc* {
|
||||
QMAKE_CXXFLAGS_RELEASE += /O2 /arch:SSE2 /fp:fast
|
||||
|
|
Loading…
Add table
Reference in a new issue