From: esainane Date: Mon, 30 Nov 2015 11:25:20 +0000 (+1300) Subject: Include dirty status in core information X-Git-Tag: travis-deploy-test~501^2 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b12eec610ea1b401a1311d1e044b4b42ca84f98a Include dirty status in core information If a core was built with a dirty working tree, -dirty will be appended to the version string. Interestingly, we already test for this in quassel.cpp (line 292), but this was not being added in the cmake phase. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c2ef8b26..ec8d61e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -561,7 +561,7 @@ endif() include(GetGitRevisionDescription) get_git_head_revision(GIT_REFSPEC GIT_HEAD) -git_describe(GIT_DESCRIBE --long) +git_describe(GIT_DESCRIBE --long --dirty) # If not in a Git repo try to read GIT_HEAD and GIT_DESCRIBE from # enviroment