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