Don't suppress git error output

pull/37/head
scrawl 11 years ago
parent 8f949c6ae2
commit fb0c5be536

@ -122,7 +122,6 @@ function(git_describe _var)
res res
OUTPUT_VARIABLE OUTPUT_VARIABLE
out out
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE) OUTPUT_STRIP_TRAILING_WHITESPACE)
if(NOT res EQUAL 0) if(NOT res EQUAL 0)
@ -147,7 +146,6 @@ function(get_git_tag_revision _var)
res res
OUTPUT_VARIABLE OUTPUT_VARIABLE
out out
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE) OUTPUT_STRIP_TRAILING_WHITESPACE)
if(NOT res EQUAL 0) if(NOT res EQUAL 0)
set(out "${out}-${res}-NOTFOUND") set(out "${out}-${res}-NOTFOUND")

Loading…
Cancel
Save