Build: Use -dirty version suffix for local changes
[pulseview.git] / CMakeLists.txt
index e1bc3a60f856b63ad08eb80f57089d3bb69b6884..4a8eb5db9ca44e0ef26b1b71b1c0fb273eab6e4d 100644 (file)
@@ -123,7 +123,7 @@ set(PV_TITLE PulseView)
 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