forked from OSchip/llvm-project
[CMake] add_lit_target: Remove comments about add_dependencies. It is not a bug in cmake that add_custom_target(DEPENDS) would not accept targets but file-level dependencies.
llvm-svn: 161295
This commit is contained in:
parent
6ce686e6a4
commit
aa63610b09
|
@ -271,11 +271,6 @@ function(add_lit_target target comment)
|
|||
COMMAND ${LIT_COMMAND} ${ARG_DEFAULT_ARGS}
|
||||
COMMENT "${comment}"
|
||||
)
|
||||
|
||||
# It would be nice to use the DEPENDS clause in add_custom_target above, but
|
||||
# that has bugs with the CMake 2.8.0 installed on Ubuntu Lucid when the entry
|
||||
# in the depends is another custom target. Instead we add them through an
|
||||
# explicit add_dependencies.
|
||||
add_dependencies(${target} ${ARG_DEPENDS})
|
||||
endfunction()
|
||||
|
||||
|
|
Loading…
Reference in New Issue