Private
Public Access
2
0

cmake: Remove dirty tag on compilation from non git tree

This is removed to make building in buildsystems like ubuntu's or yocto's
easier. Bugs reported from old versions haven't been that annoying so this is
probably be ok

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-08-30 15:00:09 +01:00
parent 2832909856
commit 22b0f63238

View File

@@ -31,7 +31,7 @@ include (GetGitRevisionDescription)
git_describe (VERSION "--tags")
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 "v1.3.0-dirty")
set (VERSION "v1.3.0")
endif ()
message (STATUS "INFO - libmraa Version ${VERSION}")