aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-08-04 02:14:44 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-08-04 02:14:44 +0000
commita6273f1a4a29a4519abfb11933822910dd494644 (patch)
treef3eca4a7d8f95ece1177dd2b3c7f41cca873e153
parent17d2853a4b508cd05ead09822dbd21d01742afd3 (diff)
[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
-rwxr-xr-xcmake/modules/AddLLVM.cmake5
1 files changed, 0 insertions, 5 deletions
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()