summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-17 11:13:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-17 11:13:46 +0200
commit69e9fbf84676e6f0b8d92a9df47f04a2077077b4 (patch)
treed463d32b853be10d81da7f278d10365688ba454d
parent6b220145f9571681d10742f00ffb42ea226e3851 (diff)
cmake: mark dirty tree
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 41b7f57d..b8b7f61a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/)
include(GetGitRevisionDescription)
find_package(Git QUIET)
if(GIT_FOUND)
- git_describe(OPENTRACK_COMMIT --tags --always)
+ git_describe(OPENTRACK_COMMIT --tags --always --dirty)
endif()
file(WRITE ${CMAKE_BINARY_DIR}/opentrack-version.h "#define OPENTRACK_VERSION \"${OPENTRACK_COMMIT}\"")