1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[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:
NAKAMURA Takumi 2012-08-04 02:14:44 +00:00
parent eb88bde151
commit d7acba5c24

View File

@ -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()