From b12eec610ea1b401a1311d1e044b4b42ca84f98a Mon Sep 17 00:00:00 2001 From: esainane Date: Tue, 1 Dec 2015 00:25:20 +1300 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1