summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2014-11-17 22:16:15 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2014-11-17 22:16:15 +0000
commit5b9a46b789b6077dcb8f2e2c39c0765d28924bfc (patch)
tree3f3b0ae796432fae2918aa7237311bcbe765d650 /cmake
parent2bd09db07fbda4350223d3ab6c14d2e0bc23ffef (diff)
CMake: Use the new USES_TERMINAL option for test suite targets when available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/AddLLVM.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 15ce6243ad5..bc26f067166 100644
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -679,6 +679,7 @@ function(add_lit_target target comment)
add_custom_target(${target}
COMMAND ${LIT_COMMAND} ${ARG_DEFAULT_ARGS}
COMMENT "${comment}"
+ ${cmake_3_2_USES_TERMINAL}
)
add_dependencies(${target} ${ARG_DEPENDS})
else()