001-version.patch 450 B

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