summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/GetSVN.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/GetSVN.cmake b/cmake/modules/GetSVN.cmake
index 3ddc3ad..4e32c09 100644
--- a/cmake/modules/GetSVN.cmake
+++ b/cmake/modules/GetSVN.cmake
@@ -16,6 +16,9 @@ get_filename_component(LLVM_DIR "${CMAKE_SCRIPT_MODE_FILE}" PATH)
get_filename_component(LLVM_DIR "${LLVM_DIR}" PATH)
get_filename_component(LLVM_DIR "${LLVM_DIR}" PATH)
+# Handle strange terminals
+set(ENV{TERM} "dumb")
+
function(append_info name path)
execute_process(COMMAND "${LLVM_DIR}/utils/GetSourceVersion" "${path}"
OUTPUT_VARIABLE revision)