You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
645 B

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -231,14 +231,7 @@
  4. set (LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}" CACHE PATH "Installation path for libraries")
  5. # Make a version file containing the current version from git.
  6. -include (GetGitRevisionDescription)
  7. -git_describe (VERSION "--tags")
  8. -# If git_describe fails, use a dirty version
  9. -if (${VERSION} MATCHES -NOTFOUND)
  10. - set (VERSION "v1.7.1")
  11. + set (VERSION "v2.0.0")
  12. - message (WARNING "Failed to retrieve UPM version with 'git describe' (using "
  13. - "${VERSION}). Check that git is installed and this is a valid git repo.")
  14. -endif ()
  15. message (STATUS "UPM Version ${VERSION}")