From b14cd76b05d44798f52566a5ff46ba7035298bd3 Mon Sep 17 00:00:00 2001 From: woblight Date: Thu, 19 Jul 2018 10:57:00 +0200 Subject: [PATCH] Touch main.cpp when GIT_DESCRIBE is set --- GitAddonsManager.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GitAddonsManager.pro b/GitAddonsManager.pro index 79a0553..0d22a8a 100644 --- a/GitAddonsManager.pro +++ b/GitAddonsManager.pro @@ -1,4 +1,4 @@ -QT += quick widgets concurrent quickcontrols2 +QT += quick widgets concurrent quickcontrols2 network CONFIG += c++1z # The following define makes your compiler emit warnings if you use @@ -47,6 +47,7 @@ isEmpty(GIT_DESCRIBE){ message("WARNING: empty git describe") } else { message("Git describe: $$GIT_DESCRIBE") + touch(main.cpp,.git/logs/HEAD) } DEFINES += GIT_DESCRIBE=\\\"$$GIT_DESCRIBE\\\"