From a6273f1a4a29a4519abfb11933822910dd494644 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 4 Aug 2012 02:14:44 +0000 Subject: [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161295 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/AddLLVM.cmake | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cmake') diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 5f0c1deea4..f44a27cce8 100755 --- a/cmake/modules/AddLLVM.cmake +++ b/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() -- cgit v1.2.3