From aa63610b098243617fb88e0fa9b89e34cb104915 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 4 Aug 2012 02:14:44 +0000 Subject: [PATCH] [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 --- llvm/cmake/modules/AddLLVM.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 5f0c1deea4d4..f44a27cce83a 100755 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -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()