summaryrefslogtreecommitdiffstats
path: root/libs/libupm/patches/001-version.patch
blob: 3d4fd6cac67cceb7bb0fce3e257a0b9f2ef06389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,12 +26,7 @@
 include(GNUInstallDirs)
 
 # Make a version file containing the current version from git.
-include (GetGitRevisionDescription)
-git_describe (VERSION "--tags")
-if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND")
-  message (WARNING " - Install git to compile a production UPM!")
-  set (VERSION "v0.4.0-dirty")
-endif ()
+set (VERSION "v0.4.0")
 
 message (INFO " - UPM Version ${VERSION}")