From 2dc14b10de9d2467a019b8e03efa6a596bf180cf Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 14 Feb 2015 21:30:29 +0100 Subject: [PATCH] cmake: add '--dirty' flag to 'git describe' for version --- awesomeConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index f7c08796..79a856d7 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -94,7 +94,7 @@ endif() if(EXISTS ${SOURCE_DIR}/.git/HEAD AND GIT_EXECUTABLE) # get current version execute_process( - COMMAND ${GIT_EXECUTABLE} describe + COMMAND ${GIT_EXECUTABLE} describe --dirty WORKING_DIRECTORY ${SOURCE_DIR} OUTPUT_VARIABLE VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)