mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
committed by
Mathew Sutcliffe
parent
eea6c31e7b
commit
15b50791ef
@@ -17,4 +17,13 @@ SOURCES += *.cpp
|
||||
DESTDIR = $$DestRoot/lib
|
||||
OTHER_FILES += buildconfig_gen.cpp.in
|
||||
|
||||
win32: GIT_BIN = $$system($$(SYSTEMROOT)\system32\where git 2> nul)
|
||||
else: GIT_BIN = $$system(which git 2> /dev/null)
|
||||
|
||||
isEmpty(GIT_BIN) {
|
||||
GIT_HEAD_SHA1="<unknown>"
|
||||
} else {
|
||||
GIT_HEAD_SHA1=$$system(git rev-parse --short HEAD)
|
||||
}
|
||||
|
||||
load(common_post)
|
||||
|
||||
Reference in New Issue
Block a user