Fix a small conflict between the CMake and Xcode builds
This commit is contained in:
parent
abec10d88b
commit
5900c52492
|
@ -1,2 +1,10 @@
|
|||
git show -s --format="#define REV_LONG \"%H\"%n#define REV_TIME \"%cd\"%n" | tee ../src/RevisionIdent.h
|
||||
fmt='
|
||||
#if !defined(REV_LONG)
|
||||
#define REV_LONG "%H"
|
||||
#endif
|
||||
#if !defined(REV_TIME)
|
||||
#define REV_TIME "%cd"
|
||||
#endif
|
||||
'
|
||||
git show -s --format="${fmt}" | tee ../src/RevisionIdent.h
|
||||
touch ../src/AboutDialog.cpp
|
||||
|
|
Loading…
Reference in New Issue