From 02f16a40f04314089b09c6812f1067915a5e1ee1 Mon Sep 17 00:00:00 2001 From: Sebastian Held Date: Sat, 23 Jun 2012 12:48:22 +0200 Subject: [PATCH] display correct version if source isn't a git checkout --- openEMS.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/openEMS.pro b/openEMS.pro index 97b0632..9405b21 100644 --- a/openEMS.pro +++ b/openEMS.pro @@ -240,6 +240,7 @@ MPI_SUPPORT { # add git revision GITREV = $$system(git describe --tags) +isEmpty($$GITREV):GITREV=$$VERSION DEFINES += GIT_VERSION=\\\"$$GITREV\\\"