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
667 B

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -225,14 +225,7 @@ include(GNUInstallDirs)
  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. - message (WARNING "Failed to retrieve UPM version with 'git describe' (using "
  12. - "${VERSION}). Check that git is installed and this is a valid git repo.")
  13. -endif ()
  14. +set (VERSION "v1.7.1")
  15. message (STATUS "UPM Version ${VERSION}")