OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CMake: ignore git stderr when trying to sort out revision. NFC.
[android-x86/external-llvm.git]
/
cmake
/
modules
/
VersionFromVCS.cmake
diff --git
a/cmake/modules/VersionFromVCS.cmake
b/cmake/modules/VersionFromVCS.cmake
index
983b48f
..
a2ff4c0
100644
(file)
--- a/
cmake/modules/VersionFromVCS.cmake
+++ b/
cmake/modules/VersionFromVCS.cmake
@@
-45,7
+45,8
@@
function(add_version_info_from_vcs VERS)
WORKING_DIRECTORY ${SOURCE_DIR}
TIMEOUT 5
RESULT_VARIABLE git_result
- OUTPUT_VARIABLE git_output)
+ OUTPUT_VARIABLE git_output
+ ERROR_QUIET)
if( git_result EQUAL 0 )
string(REGEX MATCH "URL: ([^ \n]*)" svn_url ${git_output})
if(svn_url)