Compilation fix & upgrade to version 0.8.1

Signed-off-by: Archil Pirmisashvili <kulipator@gmail.com>
This commit is contained in:
Archil Pirmisashvili
2019-11-13 22:28:37 +02:00
parent 1b64cb83d6
commit cf4e50ab7b
3 changed files with 4 additions and 51 deletions
+3 -3
View File
@@ -21,11 +21,11 @@ Subject: [PATCH 1/4] base
# Make a version file containing the current version from git.
-include (GetGitRevisionDescription)
-git_describe (VERSION "--tags")
-if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_HEAD-HASH-NOTFOUND")
-if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_HEAD-HASH-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_-128-NOTFOUND")
- message (WARNING " - Install git to compile a production libmraa!")
- set (VERSION "v0.8.0-dirty")
- set (VERSION "v0.8.1-dirty")
-endif ()
+set (VERSION "v0.8.0")
+set (VERSION "v0.8.1")
message (INFO " - libmraa Version ${VERSION}")