mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
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
This commit is contained in:
parent
2bd09db07f
commit
5b9a46b789
@ -16,6 +16,12 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.1.20141117)
|
||||
set(cmake_3_2_USES_TERMINAL)
|
||||
else()
|
||||
set(cmake_3_2_USES_TERMINAL USES_TERMINAL)
|
||||
endif()
|
||||
|
||||
project(LLVM)
|
||||
|
||||
# Add path for custom modules
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user