cmake: Change error message when git not found to say UPM

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Brendan Le Foll 2015-06-29 10:49:56 +01:00 committed by Mihai Tudor Panu
parent 7a7b8324b4
commit f2503c6167

View File

@ -29,7 +29,7 @@ include(GNUInstallDirs)
include (GetGitRevisionDescription) include (GetGitRevisionDescription)
git_describe (VERSION "--tags") git_describe (VERSION "--tags")
if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND") if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND")
message (WARNING " - Install git to compile a production libmraa!") message (WARNING " - Install git to compile a production UPM!")
set (VERSION "v0.3.1-dirty") set (VERSION "v0.3.1-dirty")
endif () endif ()