mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-18 19:50:46 +00:00
Build fix for git qmake stuff
This commit is contained in:
parent
66a7c8f903
commit
013c2bc878
@ -39,8 +39,8 @@ TEMPLATE = app
|
|||||||
exists(../.git):{
|
exists(../.git):{
|
||||||
|
|
||||||
GIT_BRANCH=$$system(git rev-parse --abbrev-ref HEAD)
|
GIT_BRANCH=$$system(git rev-parse --abbrev-ref HEAD)
|
||||||
DEFINES += GIT_BRANCH=\\\"$$GIT_BRANCH\"
|
DEFINES += GIT_BRANCH=\\\"$$GIT_BRANCH\\\"
|
||||||
DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\"
|
DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\\\"
|
||||||
|
|
||||||
contains(GIT_BRANCH,"unstable"):DEFINES += UNSTABLE_BUILD
|
contains(GIT_BRANCH,"unstable"):DEFINES += UNSTABLE_BUILD
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user