[CMake] add_lit_target: Remove comments about add_dependencies. It is not a bug in...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 4 Aug 2012 02:14:44 +0000 (02:14 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 4 Aug 2012 02:14:44 +0000 (02:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161295 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/AddLLVM.cmake

index 5f0c1deea4d48d5c9530239e7dcc15f9d2fcb64d..f44a27cce83aacd0cf4902d3d106a4b7ecf78675 100755 (executable)
@@ -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()