Pass --dirty to git describe. This needed a slight hack to
GetGitRevisionDescription.cmake to make it work. Also pass
--tags to make git include lightweight tags in its search.
execute_process(COMMAND
"${GIT_EXECUTABLE}"
describe
- ${hash}
+# ${hash} commented to make --dirty work
${ARGN}
WORKING_DIRECTORY
"${CMAKE_SOURCE_DIR}"
set(PV_DESCRIPTION "A GUI for sigrok")
include(GetGitRevisionDescription)
-git_describe(PV_NAME_VERSION_STRING)
+git_describe(PV_NAME_VERSION_STRING --tags --dirty)
if(NOT PV_NAME_VERSION_STRING)
# Read the version from a file that is distributed with