summaryrefslogtreecommitdiff
path: root/extra/polybar/fix-version.patch
blob: 1548ce310ffa5a60b3066ef318008e2b392c785e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,7 @@
   OUTPUT_VARIABLE git_describe
   OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
 
-if(git_result EQUAL "0")
+if(0)
   set(APP_VERSION "${git_describe}")
 else()
   message(STATUS "Could not detect version with git, falling back to built-in version information.")