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.

16 lines
734 B

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -113,12 +113,7 @@ endif()
  4. set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
  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" OR "x_${VERSION}" STREQUAL "x_HEAD-HASH-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_-128-NOTFOUND")
  9. - message (WARNING " - Install git to compile a production libmraa!")
  10. - set (VERSION "v2.2.0")
  11. -endif ()
  12. +set (VERSION "v2.2.0")
  13. message (STATUS "INFO - libmraa Version ${VERSION}")
  14. message (STATUS "INFO - cmake Version ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}")